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

Unified Diff: Source/web/WebScopedWindowFocusAllowedIndicator.cpp

Issue 804163002: Revert 186849 "Bind Window focus ability to the ExecutionContext..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2250/
Patch Set: Created 6 years 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: Source/web/WebScopedWindowFocusAllowedIndicator.cpp
===================================================================
--- Source/web/WebScopedWindowFocusAllowedIndicator.cpp (revision 187183)
+++ Source/web/WebScopedWindowFocusAllowedIndicator.cpp (working copy)
@@ -31,20 +31,10 @@
#include "config.h"
#include "public/web/WebScopedWindowFocusAllowedIndicator.h"
-#include "core/dom/Document.h"
-#include "core/dom/ScopedWindowFocusAllowedIndicator.h"
#include "core/page/WindowFocusAllowedIndicator.h"
-#include "public/web/WebDocument.h"
namespace blink {
-void WebScopedWindowFocusAllowedIndicator::initialize(WebDocument* webDocument)
-{
- Document* document = webDocument->unwrap<Document>();
- ASSERT(document);
- m_private.reset(new ScopedWindowFocusAllowedIndicator(document));
-}
-
void WebScopedWindowFocusAllowedIndicator::initialize()
{
m_indicator.reset(new WindowFocusAllowedIndicator());
@@ -53,7 +43,6 @@
void WebScopedWindowFocusAllowedIndicator::reset()
{
m_indicator.reset(0);
- m_private.reset(0);
}
} // namespace blink
« no previous file with comments | « Source/modules/serviceworkers/WaitUntilObserver.cpp ('k') | Source/web/tests/WebScopedWindowFocusAllowedIndicatorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698