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

Unified Diff: apps/app_window.cc

Issue 378193002: AppWindowContents: Clean up unnecessary SuspendRenderViewHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove even more unused includes. Created 6 years, 5 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: apps/app_window.cc
diff --git a/apps/app_window.cc b/apps/app_window.cc
index 814d2e0ae82f470d9016b39b416201cc9098eb9a..4182b5922e8be9ad29dcb6f8e3fc3cee2eb97f49 100644
--- a/apps/app_window.cc
+++ b/apps/app_window.cc
@@ -160,7 +160,6 @@ AppWindow::CreateParams::CreateParams()
active_frame_color(SK_ColorBLACK),
inactive_frame_color(SK_ColorBLACK),
transparent_background(false),
- creator_process_id(0),
state(ui::SHOW_STATE_DEFAULT),
hidden(false),
resizable(true),
@@ -330,7 +329,7 @@ void AppWindow::Init(const GURL& url,
content::Source<content::BrowserContext>(
client->GetOriginalContext(browser_context_)));
- app_window_contents_->LoadContents(new_params.creator_process_id);
+ app_window_contents_->LoadContents();
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableAppsShowOnFirstPaint)) {
« no previous file with comments | « apps/app_window.h ('k') | apps/app_window_contents.h » ('j') | apps/app_window_contents.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698