diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-07 23:07:27 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-07 23:07:27 +0000 |
commit | aa20e0622a945f94958daa1940385c29779d09e4 (patch) | |
tree | 79ba5e11afb6d6edc5a9e4edef95cca4f86467de /ppapi/cpp | |
parent | 111ca63cacf4cedb65be41fd4cabfa5ad7bb6b86 (diff) | |
download | chromium_src-aa20e0622a945f94958daa1940385c29779d09e4.zip chromium_src-aa20e0622a945f94958daa1940385c29779d09e4.tar.gz chromium_src-aa20e0622a945f94958daa1940385c29779d09e4.tar.bz2 |
Move more code from headers to implementation.
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/5624002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68534 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp')
-rw-r--r-- | ppapi/cpp/paint_aggregator.cc | 9 | ||||
-rw-r--r-- | ppapi/cpp/paint_aggregator.h | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/ppapi/cpp/paint_aggregator.cc b/ppapi/cpp/paint_aggregator.cc index 7f54331..1138974 100644 --- a/ppapi/cpp/paint_aggregator.cc +++ b/ppapi/cpp/paint_aggregator.cc @@ -25,8 +25,13 @@ namespace pp { -PaintAggregator::InternalPaintUpdate::InternalPaintUpdate() { -} +PaintAggregator::PaintUpdate::PaintUpdate() {} + +PaintAggregator::PaintUpdate::~PaintUpdate() {} + +PaintAggregator::InternalPaintUpdate::InternalPaintUpdate() {} + +PaintAggregator::InternalPaintUpdate::~InternalPaintUpdate() {} Rect PaintAggregator::InternalPaintUpdate::GetScrollDamage() const { // Should only be scrolling in one direction at a time. diff --git a/ppapi/cpp/paint_aggregator.h b/ppapi/cpp/paint_aggregator.h index a73a998..3fe32a5 100644 --- a/ppapi/cpp/paint_aggregator.h +++ b/ppapi/cpp/paint_aggregator.h @@ -22,6 +22,9 @@ namespace pp { class PaintAggregator { public: struct PaintUpdate { + PaintUpdate(); + ~PaintUpdate(); + // True if there is a scroll applied. This indicates that the scroll delta // and scroll_rect are nonzero (just as a convenience). bool has_scroll; @@ -86,6 +89,7 @@ class PaintAggregator { class InternalPaintUpdate { public: InternalPaintUpdate(); + ~InternalPaintUpdate(); // Computes the rect damaged by scrolling within |scroll_rect| by // |scroll_delta|. This rect must be repainted. It is not included in |