diff options
| author | 2015-01-06 00:50:52 +0000 | |
|---|---|---|
| committer | 2015-01-06 00:50:53 +0000 | |
| commit | b15f21effb8d5be988bb46eea00b6ff28222aa98 (patch) | |
| tree | 1e972cc58de13661c5db8bf76d3b8d860a0bcfb4 /libs/hwui/Snapshot.cpp | |
| parent | 578efef682cc2216db121bb88d2af977703ee6e2 (diff) | |
| parent | d41c4d8c732095ae99c955b6b82f7306633004b1 (diff) | |
Merge "Add overrides and switch to nullptr keyword for all files"
Diffstat (limited to 'libs/hwui/Snapshot.cpp')
| -rw-r--r-- | libs/hwui/Snapshot.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/hwui/Snapshot.cpp b/libs/hwui/Snapshot.cpp index cf8229fdffb9..d4ca99e85916 100644 --- a/libs/hwui/Snapshot.cpp +++ b/libs/hwui/Snapshot.cpp @@ -29,16 +29,16 @@ namespace uirenderer { Snapshot::Snapshot() : flags(0) - , previous(NULL) - , layer(NULL) + , previous(nullptr) + , layer(nullptr) , fbo(0) , invisible(false) , empty(false) , alpha(1.0f) - , roundRectClipState(NULL) { + , roundRectClipState(nullptr) { transform = &mTransformRoot; clipRect = &mClipRectRoot; - region = NULL; + region = nullptr; clipRegion = &mClipRegionRoot; } @@ -80,7 +80,7 @@ Snapshot::Snapshot(const sp<Snapshot>& s, int saveFlags) flags |= Snapshot::kFlagFboTarget; region = s->region; } else { - region = NULL; + region = nullptr; } } |