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

Unified Diff: ui/views/examples/examples_main.cc

Issue 2311783002: Re-enable PRESUBMIT check for empty unique_ptr<> rvalue (Closed)
Patch Set: Remove obsolete TODO Created 4 years, 3 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 | « ui/events/blink/input_handler_proxy_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/examples_main.cc
diff --git a/ui/views/examples/examples_main.cc b/ui/views/examples/examples_main.cc
index bc930998cb7ab358805d493de00dac4fcb3ffd6e..98f73c0c3b8e44058e3e16071a7bae8fc7332bd0 100644
--- a/ui/views/examples/examples_main.cc
+++ b/ui/views/examples/examples_main.cc
@@ -112,9 +112,8 @@ int main(int argc, char** argv) {
display::Screen::SetScreenInstance(desktop_screen.get());
#endif
- views::examples::ShowExamplesWindow(
- views::examples::QUIT_ON_CLOSE, nullptr,
- std::unique_ptr<ScopedVector<views::examples::ExampleBase>>());
+ views::examples::ShowExamplesWindow(views::examples::QUIT_ON_CLOSE, nullptr,
+ nullptr);
base::RunLoop().Run();
« no previous file with comments | « ui/events/blink/input_handler_proxy_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698