| Index: components/plugins/renderer/webview_plugin.cc
|
| diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
|
| index 1b8a1c2dff01500f7fd48d3a4414e80a80c7058f..19e2e3c681e172da7afba392bbbbab0857378226 100644
|
| --- a/components/plugins/renderer/webview_plugin.cc
|
| +++ b/components/plugins/renderer/webview_plugin.cc
|
| @@ -128,11 +128,12 @@ void WebViewPlugin::destroy() {
|
| base::MessageLoop::current()->DeleteSoon(FROM_HERE, this);
|
| }
|
|
|
| -NPObject* WebViewPlugin::scriptableObject() { return NULL; }
|
| +v8::Local<v8::Object> WebViewPlugin::v8ScriptableObject(v8::Isolate* isolate) {
|
| + if (!delegate_)
|
| + return v8::Local<v8::Object>();
|
|
|
| -struct _NPP* WebViewPlugin::pluginNPP() { return NULL; }
|
| -
|
| -bool WebViewPlugin::getFormValue(WebString& value) { return false; }
|
| + return delegate_->GetV8ScriptableObject(isolate);
|
| +}
|
|
|
| void WebViewPlugin::layoutIfNeeded() {
|
| web_view_->layout();
|
|
|