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

Unified Diff: content/browser/webui/web_ui_impl.h

Issue 2849603005: Do not reinvent the wheel / use content APIs to find a frame by name. (Closed)
Patch Set: Created 3 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
Index: content/browser/webui/web_ui_impl.h
diff --git a/content/browser/webui/web_ui_impl.h b/content/browser/webui/web_ui_impl.h
index f0faba6ae0ebe00d4aa4c819bdb4a9b361403f29..9ce9917d9d9710a03366c4315c89bba35562ae6a 100644
--- a/content/browser/webui/web_ui_impl.h
+++ b/content/browser/webui/web_ui_impl.h
@@ -96,11 +96,6 @@ class CONTENT_EXPORT WebUIImpl : public WebUI,
// frame of the specified name exists in the page.
RenderFrameHost* TargetFrame();
- // A helper function for TargetFrame; adds a frame to the specified set if its
- // name matches |frame_name_|.
- void AddToSetIfFrameNameMatches(std::set<RenderFrameHost*>* frame_set,
- RenderFrameHost* host);
-
// Called internally and by the owned MainFrameNavigationObserver.
void DisallowJavascriptOnAllHandlers();

Powered by Google App Engine
This is Rietveld 408576698