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

Unified Diff: webkit/glue/webpopupmenu_impl.cc

Issue 339001: Minor cleanup in glue to remove some remaining base dependencies.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 2 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 | « webkit/glue/webpopupmenu_impl.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpopupmenu_impl.cc
===================================================================
--- webkit/glue/webpopupmenu_impl.cc (revision 30037)
+++ webkit/glue/webpopupmenu_impl.cc (working copy)
@@ -48,9 +48,7 @@
// static
WebPopupMenu* WebPopupMenu::create(WebWidgetClient* client) {
- WebPopupMenuImpl* instance = new WebPopupMenuImpl(client);
- instance->AddRef();
- return instance;
+ return new WebPopupMenuImpl(client);
}
// WebWidget ------------------------------------------------------------------
@@ -116,7 +114,7 @@
client_ = NULL;
- Release(); // Balances AddRef from WebWidget::Create
+ deref(); // Balances ref() from WebWidget::Create
}
void WebPopupMenuImpl::resize(const WebSize& new_size) {
« no previous file with comments | « webkit/glue/webpopupmenu_impl.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698