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

Unified Diff: third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp

Issue 2143323002: Remove WebPrivateOwnPtr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 5 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: third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
diff --git a/third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp b/third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
index e32eb89866af5cfcaf879d1a53bb2ddfeb391799..5491535e268588664a814ec1e1537e8ffdbf91de 100644
--- a/third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
+++ b/third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp
@@ -36,16 +36,15 @@
namespace blink {
-void WebScopedWindowFocusAllowedIndicator::initialize(WebDocument* webDocument)
+WebScopedWindowFocusAllowedIndicator::WebScopedWindowFocusAllowedIndicator(WebDocument* webDocument)
{
Document* document = webDocument->unwrap<Document>();
DCHECK(document);
m_private.reset(new ScopedWindowFocusAllowedIndicator(document));
}
-void WebScopedWindowFocusAllowedIndicator::reset()
+WebScopedWindowFocusAllowedIndicator::~WebScopedWindowFocusAllowedIndicator()
{
- m_private.reset(0);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/WebScopedUserGesture.cpp ('k') | third_party/WebKit/Source/web/WebSurroundingText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698