Changeset 85804 in webkit


Ignore:
Timestamp:
May 4, 2011 4:34:06 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-04 Tomasz Morawski <t.morawski@samsung.com>

Reviewed by Kenneth Rohde Christiansen.

[EFL] Added error check for _ewk_init_body result.
https://bugs.webkit.org/show_bug.cgi?id=60149

The ewk_init function should be failed when _ewk_init_body function
return false.

  • ewk/ewk_main.cpp: (ewk_init):
Location:
trunk/Source/WebKit/efl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/efl/ChangeLog

    r85785 r85804  
     12011-05-04  Tomasz Morawski  <t.morawski@samsung.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [EFL] Added error check for _ewk_init_body result.
     6        https://bugs.webkit.org/show_bug.cgi?id=60149
     7
     8        The ewk_init function should be failed when _ewk_init_body function
     9        return false.
     10
     11        * ewk/ewk_main.cpp:
     12        (ewk_init):
     13
    1142011-05-04  Tao Bai  <michaelbai@chromium.org>
    215
  • trunk/Source/WebKit/efl/ewk/ewk_main.cpp

    r83727 r85804  
    110110    }
    111111
    112     _ewk_init_body();
     112    if (!_ewk_init_body()) {
     113        CRITICAL("could not init body");
     114        goto error_edje;
     115    }
    113116
    114117    return ++_ewk_init_count;
Note: See TracChangeset for help on using the changeset viewer.