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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp

Issue 2733763003: Reimplement [PutForwards] per spec (Closed)
Patch Set: avoid using v8::Maybe Created 3 years, 7 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: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
index 3fda4c42e421b40cd79e8504fc2cbad9941e4aa1..5be4593cf9cd1f3b00a00170a8ddec5b92b259d2 100644
--- a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
@@ -70,6 +70,8 @@ static void testInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
ALLOW_UNUSED_LOCAL(isolate);
v8::Local<v8::Object> holder = info.Holder();
+ ALLOW_UNUSED_LOCAL(holder);
+
TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestInterface5", "testInterfaceAttribute");
@@ -99,6 +101,8 @@ static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v
ALLOW_UNUSED_LOCAL(isolate);
v8::Local<v8::Object> holder = info.Holder();
+ ALLOW_UNUSED_LOCAL(holder);
+
TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestInterface5", "doubleAttribute");
@@ -124,6 +128,8 @@ static void floatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8
ALLOW_UNUSED_LOCAL(isolate);
v8::Local<v8::Object> holder = info.Holder();
+ ALLOW_UNUSED_LOCAL(holder);
+
TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestInterface5", "floatAttribute");
@@ -149,6 +155,8 @@ static void unrestrictedDoubleAttributeAttributeSetter(v8::Local<v8::Value> v8Va
ALLOW_UNUSED_LOCAL(isolate);
v8::Local<v8::Object> holder = info.Holder();
+ ALLOW_UNUSED_LOCAL(holder);
+
TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestInterface5", "unrestrictedDoubleAttribute");
@@ -174,6 +182,8 @@ static void unrestrictedFloatAttributeAttributeSetter(v8::Local<v8::Value> v8Val
ALLOW_UNUSED_LOCAL(isolate);
v8::Local<v8::Object> holder = info.Holder();
+ ALLOW_UNUSED_LOCAL(holder);
+
TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestInterface5", "unrestrictedFloatAttribute");
@@ -194,6 +204,9 @@ static void staticStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c
v8::Isolate* isolate = info.GetIsolate();
ALLOW_UNUSED_LOCAL(isolate);
+ v8::Local<v8::Object> holder = info.Holder();
+ ALLOW_UNUSED_LOCAL(holder);
+
// Prepare the value to be set.
V8StringResource<> cppValue = v8Value;
if (!cppValue.Prepare())
@@ -223,6 +236,8 @@ static void alwaysExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
ALLOW_UNUSED_LOCAL(isolate);
v8::Local<v8::Object> holder = info.Holder();
+ ALLOW_UNUSED_LOCAL(holder);
+
TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestInterface5", "alwaysExposedAttribute");
@@ -248,6 +263,8 @@ static void workerExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
ALLOW_UNUSED_LOCAL(isolate);
v8::Local<v8::Object> holder = info.Holder();
+ ALLOW_UNUSED_LOCAL(holder);
+
TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestInterface5", "workerExposedAttribute");
@@ -273,6 +290,8 @@ static void windowExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
ALLOW_UNUSED_LOCAL(isolate);
v8::Local<v8::Object> holder = info.Holder();
+ ALLOW_UNUSED_LOCAL(holder);
+
TestInterface5Implementation* impl = V8TestInterface5::toImpl(holder);
ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestInterface5", "windowExposedAttribute");

Powered by Google App Engine
This is Rietveld 408576698