Title: [150157] trunk/Source/WebKit/gtk
Revision
150157
Author
[email protected]
Date
2013-05-15 16:43:40 -0700 (Wed, 15 May 2013)

Log Message

Fix build.

* webkit/webkitwebview.cpp:
(webkitWebViewDirectionChanged):

Modified Paths

Diff

Modified: trunk/Source/WebKit/gtk/ChangeLog (150156 => 150157)


--- trunk/Source/WebKit/gtk/ChangeLog	2013-05-15 23:00:10 UTC (rev 150156)
+++ trunk/Source/WebKit/gtk/ChangeLog	2013-05-15 23:43:40 UTC (rev 150157)
@@ -1,3 +1,10 @@
+2013-05-15  Anders Carlsson  <[email protected]>
+
+        Fix build.
+
+        * webkit/webkitwebview.cpp:
+        (webkitWebViewDirectionChanged):
+
 2013-05-13  Anders Carlsson  <[email protected]>
 
         Frame::editor() should return a reference

Modified: trunk/Source/WebKit/gtk/webkit/webkitwebview.cpp (150156 => 150157)


--- trunk/Source/WebKit/gtk/webkit/webkitwebview.cpp	2013-05-15 23:00:10 UTC (rev 150156)
+++ trunk/Source/WebKit/gtk/webkit/webkitwebview.cpp	2013-05-15 23:43:40 UTC (rev 150157)
@@ -5501,19 +5501,19 @@
     if (!focusedFrame)
         return;
 
-    Editor* editor = focusedFrame->editor();
-    if (!editor || !editor->canEdit())
+    Editor& editor = focusedFrame->editor();
+    if (!editor.canEdit())
         return;
 
     switch (direction) {
     case GTK_TEXT_DIR_NONE:
-        editor->setBaseWritingDirection(NaturalWritingDirection);
+        editor.setBaseWritingDirection(NaturalWritingDirection);
         break;
     case GTK_TEXT_DIR_LTR:
-        editor->setBaseWritingDirection(LeftToRightWritingDirection);
+        editor.setBaseWritingDirection(LeftToRightWritingDirection);
         break;
     case GTK_TEXT_DIR_RTL:
-        editor->setBaseWritingDirection(RightToLeftWritingDirection);
+        editor.setBaseWritingDirection(RightToLeftWritingDirection);
         break;
     default:
         g_assert_not_reached();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to