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

Side by Side Diff: Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp

Issue 698923002: Enable Oilpan for core/xml/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Non-Oilpan fixes Created 6 years, 1 month 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 (c) 2008, Google Inc. 1 // Copyright (c) 2008, Google Inc.
2 // All rights reserved. 2 // 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 25 matching lines...) Expand all
36 #include "core/frame/FrameConsole.h" 36 #include "core/frame/FrameConsole.h"
37 #include "core/frame/FrameHost.h" 37 #include "core/frame/FrameHost.h"
38 #include "core/frame/LocalDOMWindow.h" 38 #include "core/frame/LocalDOMWindow.h"
39 #include "core/frame/LocalFrame.h" 39 #include "core/frame/LocalFrame.h"
40 #include "core/inspector/ConsoleMessage.h" 40 #include "core/inspector/ConsoleMessage.h"
41 #include "core/inspector/ScriptCallStack.h" 41 #include "core/inspector/ScriptCallStack.h"
42 #include "wtf/text/WTFString.h" 42 #include "wtf/text/WTFString.h"
43 43
44 namespace blink { 44 namespace blink {
45 45
46 PassRefPtrWillBeRawPtr<V8CustomXPathNSResolver> V8CustomXPathNSResolver::create( v8::Handle<v8::Object> resolver, v8::Isolate* isolate) 46 V8CustomXPathNSResolver* V8CustomXPathNSResolver::create(v8::Handle<v8::Object> resolver, v8::Isolate* isolate)
47 { 47 {
48 return adoptRefWillBeNoop(new V8CustomXPathNSResolver(resolver, isolate)); 48 return new V8CustomXPathNSResolver(resolver, isolate);
49 } 49 }
50 50
51 V8CustomXPathNSResolver::V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver , v8::Isolate* isolate) 51 V8CustomXPathNSResolver::V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver , v8::Isolate* isolate)
52 : m_resolver(resolver) 52 : m_resolver(resolver)
53 , m_isolate(isolate) 53 , m_isolate(isolate)
54 { 54 {
55 } 55 }
56 56
57 AtomicString V8CustomXPathNSResolver::lookupNamespaceURI(const String& prefix) 57 AtomicString V8CustomXPathNSResolver::lookupNamespaceURI(const String& prefix)
58 { 58 {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 TOSTRING_DEFAULT(V8StringResource<TreatNullAsNullString>, returnString, retv al, nullAtom); 90 TOSTRING_DEFAULT(V8StringResource<TreatNullAsNullString>, returnString, retv al, nullAtom);
91 return returnString; 91 return returnString;
92 } 92 }
93 93
94 void V8CustomXPathNSResolver::trace(Visitor* visitor) 94 void V8CustomXPathNSResolver::trace(Visitor* visitor)
95 { 95 {
96 XPathNSResolver::trace(visitor); 96 XPathNSResolver::trace(visitor);
97 } 97 }
98 98
99 } // namespace blink 99 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/custom/V8CustomXPathNSResolver.h ('k') | Source/bindings/core/v8/custom/V8DocumentCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698