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

Unified Diff: sky/engine/core/frame/FrameView.cpp

Issue 757143004: Remove m_layerTreeView from WebViewImpl. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/core/frame/FrameView.h ('k') | sky/engine/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/FrameView.cpp
diff --git a/sky/engine/core/frame/FrameView.cpp b/sky/engine/core/frame/FrameView.cpp
index b86368e4f6dcc9da9a0f0d42efda06763e6a05fb..0fccd9f04e537da188ce20c9dcb8cd9624206090 100644
--- a/sky/engine/core/frame/FrameView.cpp
+++ b/sky/engine/core/frame/FrameView.cpp
@@ -533,23 +533,6 @@ void FrameView::setLayoutSize(const IntSize& size)
setLayoutSizeInternal(size);
}
-void FrameView::updateCompositedSelectionBoundsIfNeeded()
-{
- if (!RuntimeEnabledFeatures::compositedSelectionUpdatesEnabled())
- return;
-
- Page* page = frame().page();
- ASSERT(page);
-
- LocalFrame* frame = page->focusController().focusedOrMainFrame();
- if (!frame || !frame->selection().isCaretOrRange()) {
- page->chrome().client().clearCompositedSelectionBounds();
- return;
- }
-
- // TODO(jdduke): Compute and route selection bounds through ChromeClient.
-}
-
HostWindow* FrameView::hostWindow() const
{
Page* page = frame().page();
@@ -968,8 +951,6 @@ void FrameView::updateLayoutAndStyleForPainting()
TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "UpdateLayerTree", TRACE_EVENT_SCOPE_PROCESS, "frame", m_frame.get());
view->compositor()->updateIfNeededRecursive();
- updateCompositedSelectionBoundsIfNeeded();
-
invalidateTreeIfNeededRecursive();
view->updateIFramesAfterLayout();
« no previous file with comments | « sky/engine/core/frame/FrameView.h ('k') | sky/engine/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698