summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
index c9e712e..74b62dd 100644
--- a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
@@ -961,7 +961,7 @@ WTF::PassRefPtr<Widget> FrameLoaderClientAndroid::createPlugin(
loadDataIntoFrame(frame.get(),
KURL("file:///android_asset/webkit/"), String(), s);
// Transfer ownership to a local refptr.
- WTF::RefPtr<Widget> widget = adoptRef(frame->view());
+ WTF::RefPtr<Widget> widget(frame->view());
return widget.release();
}
return NULL;