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: trunk/src/chrome/browser/notifications/desktop_notifications_unittest.cc

Issue 14651015: Revert 198977 "Remove unused third_party/WebKit #includes from c..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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: trunk/src/chrome/browser/notifications/desktop_notifications_unittest.cc
===================================================================
--- trunk/src/chrome/browser/notifications/desktop_notifications_unittest.cc (revision 198991)
+++ trunk/src/chrome/browser/notifications/desktop_notifications_unittest.cc (working copy)
@@ -24,6 +24,7 @@
#include "ash/shell.h"
#include "ash/test/test_shell_delegate.h"
#include "chrome/browser/ui/aura/active_desktop_monitor.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
#include "ui/aura/env.h"
#include "ui/aura/root_window.h"
#include "ui/compositor/scoped_animation_duration_scale_mode.h"
@@ -112,6 +113,7 @@
ui::TSFBridge::Initialize();
#endif
#if defined(USE_ASH)
+ WebKit::initialize(webkit_platform_support_.Get());
ui::ScopedAnimationDurationScaleMode normal_duration_mode(
ui::ScopedAnimationDurationScaleMode::ZERO_DURATION);
#if defined(ENABLE_MESSAGE_CENTER)
@@ -147,6 +149,7 @@
message_center::MessageCenter::Shutdown();
#endif
aura::Env::DeleteInstance();
+ WebKit::shutdown();
#endif
}

Powered by Google App Engine
This is Rietveld 408576698