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

Unified Diff: core/cross/cairo/layer.cc

Issue 5276006: O2D:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 10 years, 1 month 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
« no previous file with comments | « core/cross/cairo/layer.h ('k') | core/cross/cairo/pattern.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/cairo/layer.cc
===================================================================
--- core/cross/cairo/layer.cc (revision 66807)
+++ core/cross/cairo/layer.cc (working copy)
@@ -31,25 +31,26 @@
#include "core/cross/cairo/layer.h"
+
#include "core/cross/error.h"
#include "core/cross/renderer.h"
#include "core/cross/cairo/renderer_cairo.h"
-#include "core/cross/cairo/texture_cairo.h"
namespace o3d {
namespace o2d {
-O3D_DEFN_CLASS(Layer, ParamObject);
+O3D_DEFN_CLASS(Layer, ObjectBase);
Layer::Layer(ServiceLocator* service_locator)
- : ParamObject(service_locator),
- texture_(NULL),
- alpha_(0),
- scale_x_(0),
- scale_y_(0),
- translate_x_(0),
- translate_y_(0) {
+ : ObjectBase(service_locator),
+ alpha_(1.0),
+ x_(0),
+ y_(0),
+ width_(0),
+ height_(0),
+ scale_x_(1.0),
+ scale_y_(1.0) {
DLOG(INFO) << "Create Layer";
}
« no previous file with comments | « core/cross/cairo/layer.h ('k') | core/cross/cairo/pattern.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698