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

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

Issue 525353002: [oilpan]: optimize the way we allocate persistent handles in wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: more review feedback Created 6 years, 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestObject.h" 8 #include "V8TestObject.h"
9 9
10 #include "bindings/core/v8/BindingSecurity.h" 10 #include "bindings/core/v8/BindingSecurity.h"
(...skipping 10790 matching lines...) Expand 10 before | Expand all | Expand 10 after
10801 void V8TestObject::refObject(ScriptWrappableBase* internalPointer) 10801 void V8TestObject::refObject(ScriptWrappableBase* internalPointer)
10802 { 10802 {
10803 fromInternalPointer(internalPointer)->ref(); 10803 fromInternalPointer(internalPointer)->ref();
10804 } 10804 }
10805 10805
10806 void V8TestObject::derefObject(ScriptWrappableBase* internalPointer) 10806 void V8TestObject::derefObject(ScriptWrappableBase* internalPointer)
10807 { 10807 {
10808 fromInternalPointer(internalPointer)->deref(); 10808 fromInternalPointer(internalPointer)->deref();
10809 } 10809 }
10810 10810
10811 PersistentNode* V8TestObject::createPersistentHandle(ScriptWrappableBase* intern alPointer) 10811 WrapperPersistentNode* V8TestObject::createPersistentHandle(ScriptWrappableBase* internalPointer)
10812 { 10812 {
10813 ASSERT_NOT_REACHED(); 10813 ASSERT_NOT_REACHED();
10814 return 0; 10814 return 0;
10815 } 10815 }
10816 10816
10817 template<> 10817 template<>
10818 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 10818 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
10819 { 10819 {
10820 return toV8(impl, creationContext, isolate); 10820 return toV8(impl, creationContext, isolate);
10821 } 10821 }
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
11353 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF orPrivateScript", holder, v8String(scriptState->isolate(), cppValue)); 11353 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF orPrivateScript", holder, v8String(scriptState->isolate(), cppValue));
11354 if (block.HasCaught()) { 11354 if (block.HasCaught()) {
11355 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat e(), exceptionState, block); 11355 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat e(), exceptionState, block);
11356 block.ReThrow(); 11356 block.ReThrow();
11357 return false; 11357 return false;
11358 } 11358 }
11359 return true; 11359 return true;
11360 } 11360 }
11361 11361
11362 } // namespace blink 11362 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698