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

Unified Diff: mandoline/ui/browser/browser.cc

Issue 1136363002: Remove unnecessary method from Browser object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « mandoline/ui/browser/browser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/browser/browser.cc
diff --git a/mandoline/ui/browser/browser.cc b/mandoline/ui/browser/browser.cc
index 688d326faf8834ee337f2374a02f8571139ccf0c..202c76cae580b4859ec24bddaa3b2811b093a79b 100644
--- a/mandoline/ui/browser/browser.cc
+++ b/mandoline/ui/browser/browser.cc
@@ -21,18 +21,13 @@ Browser::Browser()
content_(nullptr),
omnibox_(nullptr),
navigator_host_(this),
- ui_(nullptr),
- weak_factory_(this) {
+ ui_(nullptr) {
exposed_services_impl_.AddService(this);
}
Browser::~Browser() {
}
-base::WeakPtr<Browser> Browser::GetWeakPtr() {
- return weak_factory_.GetWeakPtr();
-}
-
void Browser::ReplaceContentWithURL(const mojo::String& url) {
Embed(url, nullptr, nullptr);
}
« no previous file with comments | « mandoline/ui/browser/browser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698