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

Side by Side Diff: Source/bindings/tests/results/V8TestCallback.cpp

Issue 21006006: Add forEach() to CSSVariablesMap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and review changes Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/bindings/templates/callback_interface.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 return true; 259 return true;
260 260
261 v8::Context::Scope scope(v8Context); 261 v8::Context::Scope scope(v8Context);
262 262
263 v8::Handle<v8::Value> thisHandle = thisValue.v8Value(); 263 v8::Handle<v8::Value> thisHandle = thisValue.v8Value();
264 if (thisHandle.IsEmpty()) { 264 if (thisHandle.IsEmpty()) {
265 if (!isScriptControllerTerminating()) 265 if (!isScriptControllerTerminating())
266 CRASH(); 266 CRASH();
267 return true; 267 return true;
268 } 268 }
269 ASSERT(thisHandle->isObject()); 269 ASSERT(thisHandle->IsObject());
270 v8::Handle<v8::Value> paramHandle = v8::Integer::New(param, isolate); 270 v8::Handle<v8::Value> paramHandle = v8::Integer::New(param, isolate);
271 if (paramHandle.IsEmpty()) { 271 if (paramHandle.IsEmpty()) {
272 if (!isScriptControllerTerminating()) 272 if (!isScriptControllerTerminating())
273 CRASH(); 273 CRASH();
274 return true; 274 return true;
275 } 275 }
276 276
277 v8::Handle<v8::Value> argv[] = { 277 v8::Handle<v8::Value> argv[] = {
278 paramHandle 278 paramHandle
279 }; 279 };
280 280
281 bool callbackReturnValue = false; 281 bool callbackReturnValue = false;
282 return !invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>: :Cast(thisHandle), 1, argv, callbackReturnValue, scriptExecutionContext(), isola te); 282 return !invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>: :Cast(thisHandle), 1, argv, callbackReturnValue, scriptExecutionContext(), isola te);
283 } 283 }
284 284
285 } // namespace WebCore 285 } // namespace WebCore
286 286
OLDNEW
« no previous file with comments | « Source/bindings/templates/callback_interface.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698