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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 1076613002: Clean up some dead code (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index b831bb38b504a22eb30c3c16606a2dcf0d0f7d04..33c8d820504b9fc7658e9a0a8c0c79b5d5c050a5 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -8,7 +8,6 @@
#include <limits>
#include <set>
-#include "base/auto_reset.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/trace_event_argument.h"
#include "cc/animation/keyframed_animation_curve.h"
@@ -500,9 +499,6 @@ void LayerTreeImpl::SetViewportLayersFromIds(
outer_viewport_scroll_layer_id == Layer::INVALID_ID);
HideInnerViewportScrollbarsIfNearMinimumScale();
-
- if (!root_layer_scroll_offset_delegate_)
- return;
}
void LayerTreeImpl::ClearViewportLayers() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698