Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index 4e2893a1d6079206e82fb4a722a7a48419da675e..e2508dfb200d93950b4e14ae9319d86d4cb88fb3 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1393,16 +1393,12 @@ float WebLocalFrameImpl::getPrintPageShrink(int page) { |
} |
float WebLocalFrameImpl::printPage(int page, WebCanvas* canvas) { |
-#if ENABLE(PRINTING) |
DCHECK(m_printContext); |
DCHECK_GE(page, 0); |
DCHECK(frame()); |
DCHECK(frame()->document()); |
return m_printContext->spoolSinglePage(canvas, page); |
-#else |
- return 0; |
-#endif |
} |
void WebLocalFrameImpl::printEnd() { |