Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp

Issue 2811793005: Rename LocalFrame::Script() to GetScriptController() (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
index 7e1a51a703d1e1756c1575eb7e00812d6ef31b40..780bf147118c339671eb14bae5918a99e46cea48 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
@@ -378,8 +378,10 @@ SharedPersistent<v8::Object>* HTMLPlugInElement::PluginWrapper() {
else
plugin = PluginWidget();
- if (plugin)
- plugin_wrapper_ = frame->Script().CreatePluginWrapper(*plugin);
+ if (plugin) {
+ plugin_wrapper_ =
+ frame->GetScriptController().CreatePluginWrapper(*plugin);
+ }
}
return plugin_wrapper_.Get();
}

Powered by Google App Engine
This is Rietveld 408576698