Index: printing/printed_document.h |
diff --git a/printing/printed_document.h b/printing/printed_document.h |
index 7233df50f0282185799cdb063805be13006e1315..3e3217a4423e27b43b2f0c229e09d79e25b84e17 100644 |
--- a/printing/printed_document.h |
+++ b/printing/printed_document.h |
@@ -51,7 +51,7 @@ class PRINTING_EXPORT PrintedDocument |
// Draws the page in the context. |
// Note: locks for a short amount of time in debug only. |
-#if defined(OS_WIN) || defined(OS_MACOSX) |
+#if defined(OS_WIN) || defined(OS_MACOSX) && !defined(USE_AURA) |
void RenderPrintedPage(const PrintedPage& page, |
gfx::NativeDrawingContext context) const; |
#elif defined(OS_POSIX) |