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

Unified Diff: third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp

Issue 67141: AtomicString usage improvements in v8 interceptors. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | « no previous file | third_party/WebKit/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
===================================================================
--- third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp (revision 13552)
+++ third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp (working copy)
@@ -536,13 +536,13 @@
if (!window)
return notHandledByInterceptor();
- String propName = toWebCoreString(name);
-
Frame* frame = window->frame();
// window is detached from a frame.
if (!frame)
return notHandledByInterceptor();
+ AtomicString propName = v8StringToAtomicWebCoreString(name);
+
// Search sub-frames.
Frame* child = frame->tree()->child(propName);
if (child)
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698