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

Unified Diff: ui/views/view_unittest_aura.cc

Issue 2488393003: Changes views_aura_mus_unittests to create DesktopNativeWidgetAura (Closed)
Patch Set: remove this and fix mac Created 4 years, 1 month 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: ui/views/view_unittest_aura.cc
diff --git a/ui/views/view_unittest_aura.cc b/ui/views/view_unittest_aura.cc
index 531302ae75b9e2792239206f7a84b27acade1196..4e2660481ecf99bab975f3c028f36aea314fa037 100644
--- a/ui/views/view_unittest_aura.cc
+++ b/ui/views/view_unittest_aura.cc
@@ -61,6 +61,11 @@ typedef ViewsTestBase ViewAuraTest;
// +-- v8
// +-- v9
TEST_F(ViewAuraTest, RecreateLayersWithWindows) {
+ // TODO: test uses GetContext(), which is not applicable to aura-mus.
+ // http://crbug.com/663809.
+ if (IsAuraMusClient())
+ return;
+
Widget* w1 = CreateControlWidget(GetContext(), gfx::Rect(0, 0, 100, 100));
w1->GetNativeView()->layer()->set_name("w1");

Powered by Google App Engine
This is Rietveld 408576698