Skip to content

Commit 555c9e6

Browse files
committed
Apply reviewer's comment
1 parent fc23e05 commit 555c9e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/webview_flutter/tizen/src/webview.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,7 @@ void WebView::OnConsoleMessage(void* data, Evas_Object* obj, void* event_info) {
691691
stream << text << std::endl;
692692

693693
if (obj) {
694-
WebView* webview =
695-
static_cast<WebView*>(evas_object_data_get(obj, kEwkInstance));
694+
WebView* webview = static_cast<WebView*>(data);
696695
if (webview->webview_controller_channel_) {
697696
flutter::EncodableMap args = {
698697
{flutter::EncodableValue("level"),

0 commit comments

Comments
 (0)