summaryrefslogtreecommitdiffstats
path: root/webkit/mocks
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/mocks')
-rw-r--r--webkit/mocks/mock_webframe.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/webkit/mocks/mock_webframe.h b/webkit/mocks/mock_webframe.h
index 4f1cc41..bf65c5c 100644
--- a/webkit/mocks/mock_webframe.h
+++ b/webkit/mocks/mock_webframe.h
@@ -267,15 +267,10 @@ class MockWebFrame : public WebKit::WebFrame {
virtual bool selectWordAroundCaret() {
return false;
}
-#if defined(WEBFRAME_PRINTBEGIN_TAKES_NODE)
virtual int printBegin(const WebSize& pageSize,
const WebNode& constrainToNode,
int printerDPI = 72,
bool* useBrowserOverlays = 0) {
-#else
-virtual int printBegin(const WebSize& pageSize, int printerDPI = 72,
- bool* useBrowserOverlays = 0) {
-#endif
return 0;
}
virtual float getPrintPageShrink(int page) {