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

Side by Side Diff: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp

Issue 2316533004: Don't include headers from the layout API from other headers needlessly. (Closed)
Patch Set: The runway sure is slippery today. Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/paint/ObjectPaintInvalidator.h" 5 #include "core/paint/ObjectPaintInvalidator.h"
6 6
7 #include "core/frame/FrameView.h" 7 #include "core/frame/FrameView.h"
8 #include "core/frame/LocalFrame.h" 8 #include "core/frame/LocalFrame.h"
9 #include "core/layout/LayoutBlockFlow.h" 9 #include "core/layout/LayoutBlockFlow.h"
10 #include "core/layout/LayoutView.h"
11 #include "core/layout/api/LayoutPartItem.h"
10 #include "core/layout/compositing/CompositedLayerMapping.h" 12 #include "core/layout/compositing/CompositedLayerMapping.h"
11 #include "core/paint/PaintInvalidator.h" 13 #include "core/paint/PaintInvalidator.h"
12 #include "core/paint/PaintLayer.h" 14 #include "core/paint/PaintLayer.h"
13 #include "platform/HostWindow.h" 15 #include "platform/HostWindow.h"
14 #include "platform/graphics/GraphicsLayer.h" 16 #include "platform/graphics/GraphicsLayer.h"
15 17
16 namespace blink { 18 namespace blink {
17 19
18 static bool gDisablePaintInvalidationStateAsserts = false; 20 static bool gDisablePaintInvalidationStateAsserts = false;
19 21
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 m_object.invalidateDisplayItemClients(reason); 473 m_object.invalidateDisplayItemClients(reason);
472 return reason; 474 return reason;
473 } 475 }
474 476
475 DisablePaintInvalidationStateAsserts::DisablePaintInvalidationStateAsserts() 477 DisablePaintInvalidationStateAsserts::DisablePaintInvalidationStateAsserts()
476 : m_disabler(&gDisablePaintInvalidationStateAsserts, true) 478 : m_disabler(&gDisablePaintInvalidationStateAsserts, true)
477 { 479 {
478 } 480 }
479 481
480 } // namespace blink 482 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698