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

Unified Diff: Source/bindings/tests/results/V8TestConstants.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
Index: Source/bindings/tests/results/V8TestConstants.h
diff --git a/Source/bindings/tests/results/V8TestConstants.h b/Source/bindings/tests/results/V8TestConstants.h
index bebba98dfa554c0593047311cad9c98d790c451c..a2a53da78eb1951000af687ec545370d9b132fe8 100644
--- a/Source/bindings/tests/results/V8TestConstants.h
+++ b/Source/bindings/tests/results/V8TestConstants.h
@@ -38,7 +38,7 @@ public:
return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
}
static void derefObject(void*);
- static WrapperTypeInfo wrapperTypeInfo;
+ static const WrapperTypeInfo wrapperTypeInfo;
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
static inline void* toInternalPointer(TestConstants* impl)
{
@@ -60,7 +60,7 @@ private:
template<>
class WrapperTypeTraits<TestConstants > {
public:
- static WrapperTypeInfo* wrapperTypeInfo() { return &V8TestConstants::wrapperTypeInfo; }
+ static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestConstants::wrapperTypeInfo; }
};
inline v8::Handle<v8::Object> wrap(TestConstants* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
« no previous file with comments | « Source/bindings/tests/results/V8TestActiveDOMObject.cpp ('k') | Source/bindings/tests/results/V8TestConstants.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698