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

Unified Diff: Source/bindings/v8/CustomElementBinding.h

Issue 40433002: Make wrapperTypeInfo static member const in bindings classes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/tests/results/V8TestTypedefs.cpp ('k') | Source/bindings/v8/CustomElementBinding.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/CustomElementBinding.h
diff --git a/Source/bindings/v8/CustomElementBinding.h b/Source/bindings/v8/CustomElementBinding.h
index ff29d1d1ee0150170b6a0b367e7a47e9d442a21b..3fa394a0b0985d4825b177c01937ac0f5c47e18e 100644
--- a/Source/bindings/v8/CustomElementBinding.h
+++ b/Source/bindings/v8/CustomElementBinding.h
@@ -41,19 +41,19 @@ struct WrapperTypeInfo;
class CustomElementBinding {
public:
- static PassOwnPtr<CustomElementBinding> create(v8::Isolate*, v8::Handle<v8::Object> prototype, WrapperTypeInfo*);
+ static PassOwnPtr<CustomElementBinding> create(v8::Isolate*, v8::Handle<v8::Object> prototype, const WrapperTypeInfo*);
~CustomElementBinding() { m_prototype.dispose(); }
v8::Handle<v8::Object> prototype() { return m_prototype.newLocal(m_isolate); }
- WrapperTypeInfo* wrapperType() { return m_wrapperType; }
+ const WrapperTypeInfo* wrapperType() { return m_wrapperType; }
private:
- CustomElementBinding(v8::Isolate*, v8::Handle<v8::Object> prototype, WrapperTypeInfo*);
+ CustomElementBinding(v8::Isolate*, v8::Handle<v8::Object> prototype, const WrapperTypeInfo*);
v8::Isolate* m_isolate;
UnsafePersistent<v8::Object> m_prototype;
- WrapperTypeInfo* m_wrapperType;
+ const WrapperTypeInfo* m_wrapperType;
};
}
« no previous file with comments | « Source/bindings/tests/results/V8TestTypedefs.cpp ('k') | Source/bindings/v8/CustomElementBinding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698