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

Unified Diff: content/shell/browser/shell_views.cc

Issue 2762633003: Remove unused |context| from GetDefaultParent(). (Closed)
Patch Set: Fix chromecast compile error. Created 3 years, 9 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/shell/browser/shell_views.cc
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index 1e39768e3e7ffc97a44f5cbe2f8b3207e165d2eb..cc77a7a91da174c0c786b95b6e719eda350ea657 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -403,7 +403,7 @@ void Shell::PlatformCreateWindow(int width, int height) {
#if defined(OS_CHROMEOS)
window_widget_ = views::Widget::CreateWindowWithContextAndBounds(
new ShellWindowDelegateView(this),
- wm_test_helper_->GetDefaultParent(NULL, NULL, gfx::Rect()),
+ wm_test_helper_->GetDefaultParent(nullptr, gfx::Rect()),
gfx::Rect(0, 0, width, height));
#else
window_widget_ = new views::Widget;
« no previous file with comments | « chromecast/graphics/cast_window_manager_aura.cc ('k') | extensions/shell/browser/shell_desktop_controller_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698