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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2764633002: cc/paint: Remove cc::PaintSurface. (Closed)
Patch Set: fix for relanding 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 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Simon Hausmann <hausmann@kde.org> 5 * 2000 Simon Hausmann <hausmann@kde.org>
6 * 2000 Stefan Schimanski <1Stein@gmx.de> 6 * 2000 Stefan Schimanski <1Stein@gmx.de>
7 * 2001 George Staikos <staikos@kde.org> 7 * 2001 George Staikos <staikos@kde.org>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
9 * rights reserved. 9 * rights reserved.
10 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> 10 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 #include "platform/PluginScriptForbiddenScope.h" 80 #include "platform/PluginScriptForbiddenScope.h"
81 #include "platform/RuntimeEnabledFeatures.h" 81 #include "platform/RuntimeEnabledFeatures.h"
82 #include "platform/ScriptForbiddenScope.h" 82 #include "platform/ScriptForbiddenScope.h"
83 #include "platform/WebFrameScheduler.h" 83 #include "platform/WebFrameScheduler.h"
84 #include "platform/graphics/GraphicsContext.h" 84 #include "platform/graphics/GraphicsContext.h"
85 #include "platform/graphics/StaticBitmapImage.h" 85 #include "platform/graphics/StaticBitmapImage.h"
86 #include "platform/graphics/paint/ClipRecorder.h" 86 #include "platform/graphics/paint/ClipRecorder.h"
87 #include "platform/graphics/paint/PaintCanvas.h" 87 #include "platform/graphics/paint/PaintCanvas.h"
88 #include "platform/graphics/paint/PaintController.h" 88 #include "platform/graphics/paint/PaintController.h"
89 #include "platform/graphics/paint/PaintRecordBuilder.h" 89 #include "platform/graphics/paint/PaintRecordBuilder.h"
90 #include "platform/graphics/paint/PaintSurface.h"
91 #include "platform/graphics/paint/TransformDisplayItem.h" 90 #include "platform/graphics/paint/TransformDisplayItem.h"
92 #include "platform/json/JSONValues.h" 91 #include "platform/json/JSONValues.h"
93 #include "platform/loader/fetch/ResourceFetcher.h" 92 #include "platform/loader/fetch/ResourceFetcher.h"
94 #include "platform/plugins/PluginData.h" 93 #include "platform/plugins/PluginData.h"
95 #include "platform/text/TextStream.h" 94 #include "platform/text/TextStream.h"
96 #include "public/platform/InterfaceProvider.h" 95 #include "public/platform/InterfaceProvider.h"
97 #include "public/platform/InterfaceRegistry.h" 96 #include "public/platform/InterfaceRegistry.h"
98 #include "public/platform/WebScreenInfo.h" 97 #include "public/platform/WebScreenInfo.h"
99 #include "public/platform/WebViewScheduler.h" 98 #include "public/platform/WebViewScheduler.h"
100 #include "third_party/skia/include/core/SkImage.h" 99 #include "third_party/skia/include/core/SkImage.h"
100 #include "third_party/skia/include/core/SkSurface.h"
101 #include "wtf/PtrUtil.h" 101 #include "wtf/PtrUtil.h"
102 #include "wtf/StdLibExtras.h" 102 #include "wtf/StdLibExtras.h"
103 103
104 namespace blink { 104 namespace blink {
105 105
106 using namespace HTMLNames; 106 using namespace HTMLNames;
107 107
108 namespace { 108 namespace {
109 109
110 // Convenience class for initializing a GraphicsContext to build a DragImage 110 // Convenience class for initializing a GraphicsContext to build a DragImage
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) 914 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext())
915 m_frame->client()->frameBlameContext()->Enter(); 915 m_frame->client()->frameBlameContext()->Enter();
916 } 916 }
917 917
918 ScopedFrameBlamer::~ScopedFrameBlamer() { 918 ScopedFrameBlamer::~ScopedFrameBlamer() {
919 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) 919 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext())
920 m_frame->client()->frameBlameContext()->Leave(); 920 m_frame->client()->frameBlameContext()->Leave();
921 } 921 }
922 922
923 } // namespace blink 923 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698