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

Unified Diff: Source/platform/exported/WebCompositedDisplayList.cpp

Issue 1301033002: Plumb CompositedDisplayList to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase from space, also minor cleanups Created 5 years, 4 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
Index: Source/platform/exported/WebCompositedDisplayList.cpp
diff --git a/Source/platform/exported/WebCompositedDisplayList.cpp b/Source/platform/exported/WebCompositedDisplayList.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..31e717465718bad7dc6c5609b254ba1aafe93b38
--- /dev/null
+++ b/Source/platform/exported/WebCompositedDisplayList.cpp
@@ -0,0 +1,32 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+#include "public/platform/WebCompositedDisplayList.h"
+
+#include "platform/graphics/CompositedDisplayList.h"
+
+namespace blink {
+
+WebCompositedDisplayList::WebCompositedDisplayList()
+{
+}
+
+WebCompositedDisplayList::WebCompositedDisplayList(PassOwnPtr<CompositedDisplayList> passImpl)
+ : m_private(passImpl)
+{
+}
+
+WebCompositedDisplayList::~WebCompositedDisplayList()
+{
+ // WebPrivateOwnPtr requires explicit clearing here.
+ m_private.reset(nullptr);
+}
+
+CompositedDisplayList* WebCompositedDisplayList::compositedDisplayListForTesting()
+{
+ return m_private.get();
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698