| Index: third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp b/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp
|
| index 34e9b52ae25b89992f0e079b524a834de576d999..66af96ee87dab8644f9bfa595357aa709e0cb7de 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp
|
| @@ -102,6 +102,7 @@ bool DocumentWriteEvaluator::ensureEvaluationContext()
|
| m_window.newLocal(isolate)->Set(navigatorString, m_navigator.newLocal(isolate));
|
|
|
| v8::Local<v8::FunctionTemplate> writeTemplate = v8::FunctionTemplate::New(isolate, documentWriteCallback, v8::External::New(isolate, this));
|
| + writeTemplate->RemovePrototype();
|
| m_document.newLocal(isolate)->Set(locationString, m_location.newLocal(isolate));
|
| m_document.newLocal(isolate)->Set(v8String(isolate, "write"), writeTemplate->GetFunction());
|
| m_document.newLocal(isolate)->Set(v8String(isolate, "writeln"), writeTemplate->GetFunction());
|
|
|