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

Unified Diff: chrome/renderer/frame_sniffer.cc

Issue 10879105: Moving Chrome code from using WebFrame::name to WebFrame::uniqueName (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing nit by jam@. Created 8 years, 4 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 | « chrome/renderer/frame_sniffer.h ('k') | webkit/glue/webkit_glue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/frame_sniffer.cc
diff --git a/chrome/renderer/frame_sniffer.cc b/chrome/renderer/frame_sniffer.cc
index 4546b680c02f95b04f443d7981d007417e33b867..20844b23432d235776e2762b661efbc27c903f55 100644
--- a/chrome/renderer/frame_sniffer.cc
+++ b/chrome/renderer/frame_sniffer.cc
@@ -10,8 +10,9 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError.h"
FrameSniffer::FrameSniffer(content::RenderView* render_view,
- const string16 &frame_name)
- : content::RenderViewObserver(render_view), frame_name_(frame_name) {
+ const string16 &unique_frame_name)
+ : content::RenderViewObserver(render_view),
+ unique_frame_name_(unique_frame_name) {
}
FrameSniffer::~FrameSniffer() {
@@ -32,5 +33,5 @@ void FrameSniffer::DidCommitProvisionalLoad(WebKit::WebFrame* frame,
}
bool FrameSniffer::ShouldSniffFrame(WebKit::WebFrame* frame) {
- return frame->name() == frame_name_;
+ return frame->uniqueName() == unique_frame_name_;
}
« no previous file with comments | « chrome/renderer/frame_sniffer.h ('k') | webkit/glue/webkit_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698