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

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

Issue 166903010: Oilpan: Move core/xml/ to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 5316 matching lines...) Expand 10 before | Expand all | Expand 10 after
5327 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 5327 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
5328 } 5328 }
5329 5329
5330 static void voidMethodXPathNSResolverArgMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info) 5330 static void voidMethodXPathNSResolverArgMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info)
5331 { 5331 {
5332 if (UNLIKELY(info.Length() < 1)) { 5332 if (UNLIKELY(info.Length() < 1)) {
5333 throwTypeError(ExceptionMessages::failedToExecute("voidMethodXPathNSReso lverArg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Leng th())), info.GetIsolate()); 5333 throwTypeError(ExceptionMessages::failedToExecute("voidMethodXPathNSReso lverArg", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Leng th())), info.GetIsolate());
5334 return; 5334 return;
5335 } 5335 }
5336 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 5336 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
5337 V8TRYCATCH_VOID(RefPtr<XPathNSResolver>, xPathNSResolverArg, toXPathNSResolv er(info[0], info.GetIsolate())); 5337 V8TRYCATCH_VOID(RefPtrWillBeRawPtr<XPathNSResolver>, xPathNSResolverArg, toX PathNSResolver(info[0], info.GetIsolate()));
5338 imp->voidMethodXPathNSResolverArg(xPathNSResolverArg.release()); 5338 imp->voidMethodXPathNSResolverArg(xPathNSResolverArg.release());
5339 } 5339 }
5340 5340
5341 static void voidMethodXPathNSResolverArgMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info) 5341 static void voidMethodXPathNSResolverArgMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info)
5342 { 5342 {
5343 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 5343 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
5344 TestObjectPythonV8Internal::voidMethodXPathNSResolverArgMethod(info); 5344 TestObjectPythonV8Internal::voidMethodXPathNSResolverArgMethod(info);
5345 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 5345 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
5346 } 5346 }
5347 5347
(...skipping 2366 matching lines...) Expand 10 before | Expand all | Expand 10 after
7714 fromInternalPointer(object)->deref(); 7714 fromInternalPointer(object)->deref();
7715 } 7715 }
7716 7716
7717 template<> 7717 template<>
7718 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object > creationContext, v8::Isolate* isolate) 7718 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object > creationContext, v8::Isolate* isolate)
7719 { 7719 {
7720 return toV8(impl, creationContext, isolate); 7720 return toV8(impl, creationContext, isolate);
7721 } 7721 }
7722 7722
7723 } // namespace WebCore 7723 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698