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

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

Issue 1413373007: CC AnimationHost: Fix LinkHighlights detach scope. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 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: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 4e16751d8317e6475f4bca9b490313fbdec7c2b1..1f7898f86beb2527862cb8d3a74ac22f1f53cd0b 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -2681,6 +2681,7 @@ bool WebViewImpl::isAcceleratedCompositingActive() const
void WebViewImpl::willCloseLayerTreeView()
{
if (m_linkHighlightsTimeline) {
+ m_linkHighlights.clear();
detachCompositorAnimationTimeline(m_linkHighlightsTimeline.get());
m_linkHighlightsTimeline.clear();
}

Powered by Google App Engine
This is Rietveld 408576698