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

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: Rebasing the fixes... Created 3 years, 10 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 11 matching lines...) Expand all
22 ScrollRecorder::ScrollRecorder(GraphicsContext& context, 22 ScrollRecorder::ScrollRecorder(GraphicsContext& context,
23 const DisplayItemClient& client, 23 const DisplayItemClient& client,
24 PaintPhase phase, 24 PaintPhase phase,
25 const IntSize& currentOffset) 25 const IntSize& currentOffset)
26 : ScrollRecorder(context, 26 : ScrollRecorder(context,
27 client, 27 client,
28 DisplayItem::paintPhaseToScrollType(phase), 28 DisplayItem::paintPhaseToScrollType(phase),
29 currentOffset) {} 29 currentOffset) {}
30 30
31 ScrollRecorder::~ScrollRecorder() { 31 ScrollRecorder::~ScrollRecorder() {
32 m_context.getPaintController().endItem<EndScrollDisplayItem>( 32 context_.GetPaintController().EndItem<EndScrollDisplayItem>(
33 m_client, DisplayItem::scrollTypeToEndScrollType(m_beginItemType)); 33 client_, DisplayItem::ScrollTypeToEndScrollType(begin_item_type_));
34 } 34 }
35 35
36 } // namespace blink 36 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698