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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 140733004: Remove LayoutIndicator which is basically dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/rendering/LayoutIndicator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index da1ffa226151929878792d65c96c7e7c2061e4e2..bb44567dca47e469c3f057d3369ec6146fe3d253 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -55,7 +55,6 @@
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "core/rendering/CompositedLayerMapping.h"
#include "core/rendering/FastTextAutosizer.h"
-#include "core/rendering/LayoutIndicator.h"
#include "core/rendering/RenderCounter.h"
#include "core/rendering/RenderEmbeddedObject.h"
#include "core/rendering/RenderLayer.h"
@@ -915,8 +914,6 @@ void FrameView::performLayout(RenderObject* rootForThisLayout, bool inSubtreeLay
// If enabled, only do partial layout for the second layout.
// FIXME (crbug.com/256657): Do not do two layouts for text autosizing.
PartialLayoutDisabler partialLayoutDisabler(partialLayout(), m_frame->settings() && m_frame->settings()->textAutosizingEnabled());
-
- LayoutIndicator layoutIndicator;
rootForThisLayout->layout();
gatherDebugLayoutRects(rootForThisLayout);
@@ -928,7 +925,6 @@ void FrameView::performLayout(RenderObject* rootForThisLayout, bool inSubtreeLay
bool autosized = textAutosizer && textAutosizer->processSubtree(rootForThisLayout);
if (autosized && rootForThisLayout->needsLayout()) {
TRACE_EVENT0("webkit", "2nd layout due to Text Autosizing");
- LayoutIndicator layoutIndicator;
rootForThisLayout->layout();
gatherDebugLayoutRects(rootForThisLayout);
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/rendering/LayoutIndicator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698