| Index: sky/engine/core/frame/FrameView.cpp
|
| diff --git a/sky/engine/core/frame/FrameView.cpp b/sky/engine/core/frame/FrameView.cpp
|
| index 5db4c925a9a6e45e4ab2c04b24fa9e7788f1aa25..ea8e7e0e92bb35cd111ac07637a32a994b7a75a7 100644
|
| --- a/sky/engine/core/frame/FrameView.cpp
|
| +++ b/sky/engine/core/frame/FrameView.cpp
|
| @@ -407,8 +407,6 @@ void FrameView::invalidateTreeIfNeeded()
|
| RenderView& rootForPaintInvalidation = *renderView();
|
| ASSERT(!rootForPaintInvalidation.needsLayout());
|
|
|
| - TRACE_EVENT1("blink", "FrameView::invalidateTree", "root", rootForPaintInvalidation.debugName().ascii().data());
|
| -
|
| PaintInvalidationState rootPaintInvalidationState(rootForPaintInvalidation);
|
|
|
| rootForPaintInvalidation.invalidateTreeIfNeeded(rootPaintInvalidationState);
|
| @@ -418,9 +416,6 @@ void FrameView::invalidateTreeIfNeeded()
|
| renderView()->assertSubtreeClearedPaintInvalidationState();
|
| #endif
|
|
|
| - if (m_frame->selection().isCaretBoundsDirty())
|
| - m_frame->selection().invalidateCaretRect();
|
| -
|
| lifecycle().advanceTo(DocumentLifecycle::PaintInvalidationClean);
|
| }
|
|
|
| @@ -472,20 +467,6 @@ HostWindow* FrameView::hostWindow() const
|
| return &page->chrome();
|
| }
|
|
|
| -void FrameView::contentRectangleForPaintInvalidation(const IntRect& r)
|
| -{
|
| - ASSERT(paintInvalidationIsAllowed());
|
| -
|
| - IntRect paintRect = r;
|
| - if (clipsPaintInvalidations() && !paintsEntireContents())
|
| - paintRect.intersect(visibleContentRect());
|
| - if (paintRect.isEmpty())
|
| - return;
|
| -
|
| - if (HostWindow* window = hostWindow())
|
| - window->invalidateContentsAndRootView(contentsToWindow(paintRect));
|
| -}
|
| -
|
| void FrameView::contentsResized()
|
| {
|
| setNeedsLayout();
|
|
|