Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index 713d2c2f71bc179c7952c21e7e989602c51916e2..028c6bd86ea9d0907bf28a01de07d53dafae60f3 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -421,7 +421,7 @@ void WebPluginContainerImpl::clearScriptObjects() |
Frame* frame = m_element->document().frame(); |
if (!frame) |
return; |
- frame->script()->cleanupScriptObjectsForPlugin(this); |
+ frame->script().cleanupScriptObjectsForPlugin(this); |
} |
NPObject* WebPluginContainerImpl::scriptableObjectForElement() |
@@ -442,7 +442,7 @@ WebString WebPluginContainerImpl::executeScriptURL(const WebURL& url, bool popup |
kurl.string().substring(strlen("javascript:"))); |
UserGestureIndicator gestureIndicator(popupsAllowed ? DefinitelyProcessingNewUserGesture : PossiblyProcessingUserGesture); |
- ScriptValue result = frame->script()->executeScriptInMainWorldAndReturnValue(ScriptSourceCode(script)); |
+ ScriptValue result = frame->script().executeScriptInMainWorldAndReturnValue(ScriptSourceCode(script)); |
// Failure is reported as a null string. |
String resultStr; |