use width() instead of fWidth to get int value

git-svn-id: http://skia.googlecode.com/svn/trunk@9816 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp
index 07fbe12..beba9da 100644
--- a/src/core/SkBitmap.cpp
+++ b/src/core/SkBitmap.cpp
@@ -745,7 +745,7 @@
     SkDEBUGCODE(this->validate();)
     SkASSERT(!area.isEmpty());
     {
-        SkIRect total = { 0, 0, fWidth, fHeight };
+        SkIRect total = { 0, 0, this->width(), this->height() };
         SkASSERT(total.contains(area));
     }
 #endif
@@ -846,14 +846,14 @@
 }
 
 void SkBitmap::eraseARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) const {
-    SkIRect area = { 0, 0, fWidth, fHeight };
+    SkIRect area = { 0, 0, this->width(), this->height() };
     if (!area.isEmpty()) {
         this->internalErase(area, a, r, g, b);
     }
 }
 
 void SkBitmap::eraseArea(const SkIRect& rect, SkColor c) const {
-    SkIRect area = { 0, 0, fWidth, fHeight };
+    SkIRect area = { 0, 0, this->width(), this->height() };
     if (area.intersect(rect)) {
         this->internalErase(area, SkColorGetA(c), SkColorGetR(c),
                             SkColorGetG(c), SkColorGetB(c));