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

Unified Diff: Source/bindings/tests/results/core/V8TestException.cpp

Issue 1318293002: Only expose Notification.requestPermission() on the Window global. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: handle detached contexts Created 5 years, 4 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: Source/bindings/tests/results/core/V8TestException.cpp
diff --git a/Source/bindings/tests/results/core/V8TestException.cpp b/Source/bindings/tests/results/core/V8TestException.cpp
index 427ee2c4b984723827741957599c2006b1834879..41a0ef0b59b3f68a660d0b66a1219d28b178c9af 100644
--- a/Source/bindings/tests/results/core/V8TestException.cpp
+++ b/Source/bindings/tests/results/core/V8TestException.cpp
@@ -137,6 +137,8 @@ static void installV8TestExceptionTemplate(v8::Local<v8::FunctionTemplate> funct
ALLOW_UNUSED_LOCAL(instanceTemplate);
v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->PrototypeTemplate();
ALLOW_UNUSED_LOCAL(prototypeTemplate);
+ ExecutionContext* context = currentExecutionContext(isolate);
+ ALLOW_UNUSED_LOCAL(context);
static const V8DOMConfiguration::ConstantConfiguration V8TestExceptionConstants[] = {
{"UNSIGNED_SHORT_CONSTANT", 1, 0, V8DOMConfiguration::ConstantTypeUnsignedShort},
};

Powered by Google App Engine
This is Rietveld 408576698