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

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

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ScrollRecorder.h" 5 #include "core/paint/ScrollRecorder.h"
6 6
7 #include "platform/graphics/GraphicsContext.h" 7 #include "platform/graphics/GraphicsContext.h"
8 #include "platform/graphics/paint/PaintController.h" 8 #include "platform/graphics/paint/PaintController.h"
9 #include "platform/graphics/paint/ScrollDisplayItem.h" 9 #include "platform/graphics/paint/ScrollDisplayItem.h"
10 10
(...skipping 16 matching lines...) Expand all
27 const IntSize& currentOffset) 27 const IntSize& currentOffset)
28 : ScrollRecorder(context, 28 : ScrollRecorder(context,
29 client, 29 client,
30 DisplayItem::paintPhaseToScrollType(phase), 30 DisplayItem::paintPhaseToScrollType(phase),
31 currentOffset) {} 31 currentOffset) {}
32 32
33 ScrollRecorder::~ScrollRecorder() { 33 ScrollRecorder::~ScrollRecorder() {
34 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) 34 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
35 return; 35 return;
36 m_context.getPaintController().endItem<EndScrollDisplayItem>( 36 m_context.getPaintController().endItem<EndScrollDisplayItem>(
37 m_client, DisplayItem::scrollTypeToEndScrollType(m_beginItemType)); 37 m_client, DisplayItem::ScrollTypeToEndScrollType(m_beginItemType));
38 } 38 }
39 39
40 } // namespace blink 40 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698