[EFL] Add missing initialization of editable variable.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 00:55:58 +0000 (00:55 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 00:55:58 +0000 (00:55 +0000)
https://bugs.webkit.org/show_bug.cgi?id=77948

Patch by Krzysztof Czech <k.czech@samsung.com> on 2012-02-07
Reviewed by Eric Seidel.

The value of editable in Ewk_Frame_Smart_Data struct is not set.

* ewk/ewk_frame.cpp:
(ewk_frame_editable_set):

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

Source/WebKit/efl/ChangeLog
Source/WebKit/efl/ewk/ewk_frame.cpp

index 873133e91c900ce0d015d1d8eea91362bd9ec95a..6a52fa25241c7c4d70765697c38d1151690433a4 100644 (file)
@@ -1,3 +1,15 @@
+2012-02-07  Krzysztof Czech  <k.czech@samsung.com>
+
+        [EFL] Add missing initialization of editable variable.
+        https://bugs.webkit.org/show_bug.cgi?id=77948
+
+        Reviewed by Eric Seidel.
+
+        The value of editable in Ewk_Frame_Smart_Data struct is not set.
+
+        * ewk/ewk_frame.cpp:
+        (ewk_frame_editable_set):
+
 2012-02-06  JungJik Lee  <jungjik.lee@samsung.com>
 
         [EFL] Define to prevent a single backing-store application from calling the tiled view function.
index 8ba18df24e2bc1b7b907891098d27e9becb2ecd4..8dc14015035b0aae462a8db773dfaeb1b9228ed9 100644 (file)
@@ -459,6 +459,7 @@ Eina_Bool ewk_frame_editable_set(Evas_Object* ewkFrame, Eina_Bool editable)
     editable = !!editable;
     if (smartData->editable == editable)
         return true;
+    smartData->editable = editable;
     if (editable)
         smartData->frame->editor()->applyEditingStyleToBodyElement();
     return true;