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

Unified Diff: Source/bindings/v8/V8PerIsolateData.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/v8/V8PerContextData.cpp ('k') | Source/bindings/v8/V8PerIsolateData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8PerIsolateData.h
diff --git a/Source/bindings/v8/V8PerIsolateData.h b/Source/bindings/v8/V8PerIsolateData.h
index 00c43d6dc77109a3b7f640663bf7d1bae26bfd20..fc93102b6be63089f847b6e8fcbad11196c0bdd2 100644
--- a/Source/bindings/v8/V8PerIsolateData.h
+++ b/Source/bindings/v8/V8PerIsolateData.h
@@ -63,7 +63,7 @@ public:
}
static void dispose(v8::Isolate*);
- typedef HashMap<void*, UnsafePersistent<v8::FunctionTemplate> > TemplateMap;
+ typedef HashMap<const void*, UnsafePersistent<v8::FunctionTemplate> > TemplateMap;
TemplateMap& rawTemplateMap(WrapperWorldType worldType)
{
@@ -133,9 +133,9 @@ public:
v8::Handle<v8::FunctionTemplate> privateTemplateIfExists(WrapperWorldType, void* privatePointer);
void setPrivateTemplate(WrapperWorldType, void* privatePointer, v8::Handle<v8::FunctionTemplate>);
- v8::Handle<v8::FunctionTemplate> rawTemplate(WrapperTypeInfo*, WrapperWorldType);
+ v8::Handle<v8::FunctionTemplate> rawTemplate(const WrapperTypeInfo*, WrapperWorldType);
- bool hasInstance(WrapperTypeInfo*, v8::Handle<v8::Value>, WrapperWorldType);
+ bool hasInstance(const WrapperTypeInfo*, v8::Handle<v8::Value>, WrapperWorldType);
v8::Local<v8::Context> ensureRegexContext();
« no previous file with comments | « Source/bindings/v8/V8PerContextData.cpp ('k') | Source/bindings/v8/V8PerIsolateData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698