Fixing a typo from a bad merge.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Jan 2011 19:48:53 +0000 (19:48 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Jan 2011 19:48:53 +0000 (19:48 +0000)
        * UIProcess/API/mac/WKView.mm: (-[WKView canChangeFrameLayout:]):

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/mac/WKView.mm

index 4df926120b99852c5522b25ff473ffbaa79c56db..c89369bbf4342195e81f8906e60c9c7566382437 100644 (file)
@@ -1,3 +1,9 @@
+2011-01-17  Alexey Proskuryakov  <ap@apple.com>
+
+        Fixing a typo from a bad merge.
+
+        * UIProcess/API/mac/WKView.mm: (-[WKView canChangeFrameLayout:]):
+
 2011-01-17  Alexey Proskuryakov  <ap@apple.com>
 
         Reviewed by John Sullivan.
index cb362a8bf2a53468fd3fa454c48908c8501238e7..f52645c66b8a15789bdaaf7e5a833d6389ae9476 100644 (file)
@@ -1295,7 +1295,7 @@ static void extractUnderlines(NSAttributedString *string, Vector<CompositionUnde
 - (BOOL)canChangeFrameLayout:(WKFrameRef)frameRef
 {
     // PDF documents are already paginated, so we can't change them to add headers and footers.
-    return !toImpl(frameRef)->isMainFrame() || _data->_pdfViewController;
+    return !toImpl(frameRef)->isMainFrame() || !_data->_pdfViewController;
 }
 
 @end