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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 2663 matching lines...) Expand 10 before | Expand all | Expand 10 after
2674 } 2674 }
2675 2675
2676 bool WebViewImpl::isAcceleratedCompositingActive() const 2676 bool WebViewImpl::isAcceleratedCompositingActive() const
2677 { 2677 {
2678 return m_rootLayer; 2678 return m_rootLayer;
2679 } 2679 }
2680 2680
2681 void WebViewImpl::willCloseLayerTreeView() 2681 void WebViewImpl::willCloseLayerTreeView()
2682 { 2682 {
2683 if (m_linkHighlightsTimeline) { 2683 if (m_linkHighlightsTimeline) {
2684 m_linkHighlights.clear();
2684 detachCompositorAnimationTimeline(m_linkHighlightsTimeline.get()); 2685 detachCompositorAnimationTimeline(m_linkHighlightsTimeline.get());
2685 m_linkHighlightsTimeline.clear(); 2686 m_linkHighlightsTimeline.clear();
2686 } 2687 }
2687 2688
2688 setRootGraphicsLayer(nullptr); 2689 setRootGraphicsLayer(nullptr);
2689 m_layerTreeView = nullptr; 2690 m_layerTreeView = nullptr;
2690 } 2691 }
2691 2692
2692 void WebViewImpl::didAcquirePointerLock() 2693 void WebViewImpl::didAcquirePointerLock()
2693 { 2694 {
(...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after
4463 if (m_pageColorOverlay) 4464 if (m_pageColorOverlay)
4464 m_pageColorOverlay->update(); 4465 m_pageColorOverlay->update();
4465 if (InspectorOverlay* overlay = inspectorOverlay()) { 4466 if (InspectorOverlay* overlay = inspectorOverlay()) {
4466 PageOverlay* inspectorPageOverlay = overlay->pageOverlay(); 4467 PageOverlay* inspectorPageOverlay = overlay->pageOverlay();
4467 if (inspectorPageOverlay) 4468 if (inspectorPageOverlay)
4468 inspectorPageOverlay->update(); 4469 inspectorPageOverlay->update();
4469 } 4470 }
4470 } 4471 }
4471 4472
4472 } // namespace blink 4473 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698