Index: Source/bindings/v8/custom/V8WindowCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8WindowCustom.cpp b/Source/bindings/v8/custom/V8WindowCustom.cpp |
index dc92353915ffbb7f261b447b03933422e28f801a..d53bdd5d3e861e4df8ef276e6d836f2e9d3c8327 100644 |
--- a/Source/bindings/v8/custom/V8WindowCustom.cpp |
+++ b/Source/bindings/v8/custom/V8WindowCustom.cpp |
@@ -475,9 +475,9 @@ bool V8Window::namedSecurityCheckCustom(v8::Local<v8::Object> host, v8::Local<v8 |
target->loader().didAccessInitialDocument(); |
if (key->IsString()) { |
- DEFINE_STATIC_LOCAL(AtomicString, nameOfProtoProperty, ("__proto__", AtomicString::ConstructFromLiteral)); |
+ DEFINE_STATIC_LOCAL(const AtomicString, nameOfProtoProperty, ("__proto__", AtomicString::ConstructFromLiteral)); |
Inactive
2013/11/27 01:11:41
Not strictly related but since I was editing this
|
- String name = toWebCoreString(key.As<v8::String>()); |
+ AtomicString name = toWebCoreAtomicString(key.As<v8::String>()); |
Inactive
2013/11/27 01:11:41
Note: This one is safe (cannot throw) as it takes
|
Frame* childFrame = target->tree().scopedChild(name); |
// Notice that we can't call HasRealNamedProperty for ACCESS_HAS |
// because that would generate infinite recursion. |