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

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: 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 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after
1849 void V8TestInterface::refObject(ScriptWrappableBase* internalPointer) 1849 void V8TestInterface::refObject(ScriptWrappableBase* internalPointer)
1850 { 1850 {
1851 fromInternalPointer(internalPointer)->ref(); 1851 fromInternalPointer(internalPointer)->ref();
1852 } 1852 }
1853 1853
1854 void V8TestInterface::derefObject(ScriptWrappableBase* internalPointer) 1854 void V8TestInterface::derefObject(ScriptWrappableBase* internalPointer)
1855 { 1855 {
1856 fromInternalPointer(internalPointer)->deref(); 1856 fromInternalPointer(internalPointer)->deref();
1857 } 1857 }
1858 1858
1859 PersistentNode* V8TestInterface::createPersistentHandle(ScriptWrappableBase* int ernalPointer) 1859 WrapperPersistentNode* V8TestInterface::createPersistentHandle(ScriptWrappableBa se* internalPointer)
1860 { 1860 {
1861 ASSERT_NOT_REACHED(); 1861 ASSERT_NOT_REACHED();
1862 return 0; 1862 return 0;
1863 } 1863 }
1864 1864
1865 template<> 1865 template<>
1866 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle <v8::Object> creationContext, v8::Isolate* isolate) 1866 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle <v8::Object> creationContext, v8::Isolate* isolate)
1867 { 1867 {
1868 return toV8(impl, creationContext, isolate); 1868 return toV8(impl, creationContext, isolate);
1869 } 1869 }
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
1961 RELEASE_ASSERT_NOT_REACHED(); 1961 RELEASE_ASSERT_NOT_REACHED();
1962 } 1962 }
1963 block.ReThrow(); 1963 block.ReThrow();
1964 return false; 1964 return false;
1965 } 1965 }
1966 return true; 1966 return true;
1967 } 1967 }
1968 1968
1969 } // namespace blink 1969 } // namespace blink
1970 #endif // ENABLE(CONDITION) 1970 #endif // ENABLE(CONDITION)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698