Index: Source/core/plugins/PluginView.h |
diff --git a/Source/core/plugins/PluginView.h b/Source/core/plugins/PluginView.h |
index c1cdc2f61f392b5e8d1f2b48c5997dac77e07ee0..b7af6c68a45b66ada177df45b1c06c343e204adc 100644 |
--- a/Source/core/plugins/PluginView.h |
+++ b/Source/core/plugins/PluginView.h |
@@ -1,6 +1,7 @@ |
/* |
* Copyright (C) 2010 Apple Inc. All rights reserved. |
* Copyright (C) 2013 Google Inc. All rights reserved. |
+ * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -29,6 +30,7 @@ |
#include "platform/Widget.h" |
#include "platform/scroll/ScrollTypes.h" |
#include "wtf/text/WTFString.h" |
+#include <v8.h> |
struct NPObject; |
@@ -45,7 +47,7 @@ public: |
virtual bool isPluginView() const OVERRIDE FINAL { return true; } |
virtual blink::WebLayer* platformLayer() const { return 0; } |
- virtual NPObject* scriptableObject() { return 0; } |
+ virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { return v8::Local<v8::Object>(); } |
virtual bool getFormValue(String&) { return false; } |
virtual bool wantsWheelEvents() { return false; } |
virtual bool supportsKeyboardFocus() const { return false; } |