summaryrefslogtreecommitdiff
path: root/core/fxge
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-08-29 14:42:36 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-29 14:42:36 -0700
commitd24c3a60d0e6e5badef57d3baf55e5c3b6d4882e (patch)
tree56abe4fe5e26d4aa18b1921d1f8208065aae0bbd /core/fxge
parent596014357f7cd9ee3245ba8ed52cbc5761151727 (diff)
downloadpdfium-d24c3a60d0e6e5badef57d3baf55e5c3b6d4882e.tar.xz
Revert "Add -> operators to CFX_CountRef."
This reverts commit c10c23a2b1999b1cb0354fd4db9837dc63a3d833. TBR=dsinclair@chromium.org Review-Url: https://codereview.chromium.org/2285283003
Diffstat (limited to 'core/fxge')
-rw-r--r--core/fxge/ge/cfx_cliprgn.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxge/ge/cfx_cliprgn.cpp b/core/fxge/ge/cfx_cliprgn.cpp
index 9b20633ee2..41975e4b84 100644
--- a/core/fxge/ge/cfx_cliprgn.cpp
+++ b/core/fxge/ge/cfx_cliprgn.cpp
@@ -20,7 +20,7 @@ CFX_ClipRgn::~CFX_ClipRgn() {}
void CFX_ClipRgn::Reset(const FX_RECT& rect) {
m_Type = RectI;
m_Box = rect;
- m_Mask.Clear();
+ m_Mask.SetNull();
}
void CFX_ClipRgn::IntersectRect(const FX_RECT& rect) {
@@ -77,7 +77,7 @@ void CFX_ClipRgn::IntersectMaskF(int left, int top, CFX_DIBitmapRef Mask) {
new_box.Intersect(mask_box);
if (new_box.IsEmpty()) {
m_Type = RectI;
- m_Mask.Clear();
+ m_Mask.SetNull();
m_Box = new_box;
return;
}