Fixed a typo I made in r103871.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jan 2012 06:56:26 +0000 (06:56 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jan 2012 06:56:26 +0000 (06:56 +0000)
Fixes <http://webkit.org/b/75450> Inline PDF doesn't preview correctly when attempting to print its frame

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::drawRectToPDF): Changed USE(GC) to USE(CG).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@103925 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/WebPage.cpp

index 7b1743aca62a5d4f2522481ba7de6775396d8951..7b9de3a01f33a4f2f1aad0b895a5e258319cdd96 100644 (file)
@@ -1,3 +1,12 @@
+2012-01-02  Dan Bernstein  <mitz@apple.com>
+
+        Fixed a typo I made in r103871.
+
+        Fixes <http://webkit.org/b/75450> Inline PDF doesn't preview correctly when attempting to print its frame
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::drawRectToPDF): Changed USE(GC) to USE(CG).
+
 2012-01-02  Andy Estes  <aestes@apple.com>
 
         Fix the Windows build (again).
index eb04c42b533ceae31dabdbd5b1da51c82aeab3bb..9f6767272ea883dd463716632d8da1372ab01b83 100644 (file)
@@ -2700,7 +2700,7 @@ void WebPage::drawRectToPDF(uint64_t frameID, const PrintInfo& printInfo, const
     RetainPtr<CFMutableDataRef> pdfPageData(AdoptCF, CFDataCreateMutable(0, 0));
 
     if (coreFrame) {
-#if !USE(GC)
+#if !USE(CG)
         UNUSED_PARAM(printInfo);
 
         ASSERT(coreFrame->document()->printing());