Index: third_party/WebKit/public/web/WebFrame.h |
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h |
index 47e76e1e694a666370e76a7be8cec9e3021199c0..a5446a9dd401f45fa08d6b47a229b4e169660131 100644 |
--- a/third_party/WebKit/public/web/WebFrame.h |
+++ b/third_party/WebKit/public/web/WebFrame.h |
@@ -41,7 +41,6 @@ |
#include "public/web/WebTreeScopeType.h" |
namespace v8 { |
-class Context; |
class Function; |
class Value; |
template <class T> |
@@ -277,13 +276,6 @@ class WebFrame { |
int argc, |
v8::Local<v8::Value> argv[]) = 0; |
- // Returns the V8 context for associated with the main world and this |
- // frame. There can be many V8 contexts associated with this frame, one for |
- // each isolated world and one for the main world. If you don't know what |
- // the "main world" or an "isolated world" is, then you probably shouldn't |
- // be calling this API. |
- virtual v8::Local<v8::Context> MainWorldScriptContext() const = 0; |
- |
// Returns true if the WebFrame currently executing JavaScript has access |
// to the given WebFrame, or false otherwise. |
BLINK_EXPORT static bool ScriptCanAccess(WebFrame*); |