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

Side by Side Diff: Source/bindings/tests/results/V8TestInterface.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 #if ENABLE(CONDITION) 8 #if ENABLE(CONDITION)
9 #include "V8TestInterface.h" 9 #include "V8TestInterface.h"
10 10
(...skipping 1843 matching lines...) Expand 10 before | Expand all | Expand 10 after
1854 void V8TestInterface::refObject(ScriptWrappableBase* internalPointer) 1854 void V8TestInterface::refObject(ScriptWrappableBase* internalPointer)
1855 { 1855 {
1856 fromInternalPointer(internalPointer)->ref(); 1856 fromInternalPointer(internalPointer)->ref();
1857 } 1857 }
1858 1858
1859 void V8TestInterface::derefObject(ScriptWrappableBase* internalPointer) 1859 void V8TestInterface::derefObject(ScriptWrappableBase* internalPointer)
1860 { 1860 {
1861 fromInternalPointer(internalPointer)->deref(); 1861 fromInternalPointer(internalPointer)->deref();
1862 } 1862 }
1863 1863
1864 PersistentNode* V8TestInterface::createPersistentHandle(ScriptWrappableBase* int ernalPointer) 1864 WrapperPersistentNode* V8TestInterface::createPersistentHandle(ScriptWrappableBa se* internalPointer)
1865 { 1865 {
1866 ASSERT_NOT_REACHED(); 1866 ASSERT_NOT_REACHED();
1867 return 0; 1867 return 0;
1868 } 1868 }
1869 1869
1870 template<> 1870 template<>
1871 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle <v8::Object> creationContext, v8::Isolate* isolate) 1871 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle <v8::Object> creationContext, v8::Isolate* isolate)
1872 { 1872 {
1873 return toV8(impl, creationContext, isolate); 1873 return toV8(impl, creationContext, isolate);
1874 } 1874 }
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1957 if (block.HasCaught()) { 1957 if (block.HasCaught()) {
1958 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat e(), exceptionState, block); 1958 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat e(), exceptionState, block);
1959 block.ReThrow(); 1959 block.ReThrow();
1960 return false; 1960 return false;
1961 } 1961 }
1962 return true; 1962 return true;
1963 } 1963 }
1964 1964
1965 } // namespace blink 1965 } // namespace blink
1966 #endif // ENABLE(CONDITION) 1966 #endif // ENABLE(CONDITION)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698