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

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

Issue 553483004: Revert of [oilpan]: optimize the way we allocate persistent handles in wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge conflicts 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 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1864 void V8TestInterface::refObject(ScriptWrappableBase* internalPointer) 1864 void V8TestInterface::refObject(ScriptWrappableBase* internalPointer)
1865 { 1865 {
1866 internalPointer->toImpl<TestInterfaceImplementation>()->ref(); 1866 internalPointer->toImpl<TestInterfaceImplementation>()->ref();
1867 } 1867 }
1868 1868
1869 void V8TestInterface::derefObject(ScriptWrappableBase* internalPointer) 1869 void V8TestInterface::derefObject(ScriptWrappableBase* internalPointer)
1870 { 1870 {
1871 internalPointer->toImpl<TestInterfaceImplementation>()->deref(); 1871 internalPointer->toImpl<TestInterfaceImplementation>()->deref();
1872 } 1872 }
1873 1873
1874 WrapperPersistentNode* V8TestInterface::createPersistentHandle(ScriptWrappableBa se* internalPointer) 1874 PersistentNode* V8TestInterface::createPersistentHandle(ScriptWrappableBase* int ernalPointer)
1875 { 1875 {
1876 ASSERT_NOT_REACHED(); 1876 ASSERT_NOT_REACHED();
1877 return 0; 1877 return 0;
1878 } 1878 }
1879 1879
1880 template<> 1880 template<>
1881 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle <v8::Object> creationContext, v8::Isolate* isolate) 1881 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle <v8::Object> creationContext, v8::Isolate* isolate)
1882 { 1882 {
1883 return toV8(impl, creationContext, isolate); 1883 return toV8(impl, creationContext, isolate);
1884 } 1884 }
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1967 if (block.HasCaught()) { 1967 if (block.HasCaught()) {
1968 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat e(), exceptionState, block); 1968 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat e(), exceptionState, block);
1969 block.ReThrow(); 1969 block.ReThrow();
1970 return false; 1970 return false;
1971 } 1971 }
1972 return true; 1972 return true;
1973 } 1973 }
1974 1974
1975 } // namespace blink 1975 } // namespace blink
1976 #endif // ENABLE(CONDITION) 1976 #endif // ENABLE(CONDITION)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface.h ('k') | Source/bindings/tests/results/V8TestInterface2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698