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

Side by Side Diff: sky/engine/core/painting/Picture.cpp

Issue 1122423009: Make it possible to custom-paint without an Element. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Comment tweak Created 5 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "sky/engine/config.h"
6 #include "sky/engine/core/painting/Picture.h"
7
8 #include "base/logging.h"
9
10 namespace blink {
11
12 PassRefPtr<Picture> Picture::create(PassRefPtr<DisplayList> list)
13 {
14 ASSERT(list);
15 return adoptRef(new Picture(list));
16 }
17
18 Picture::Picture(PassRefPtr<DisplayList> list)
19 : m_displayList(list)
20 {
21 }
22
23 Picture::~Picture()
24 {
25 }
26
27 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698