Optimized hit testing feature, refactored into seperate function from canvas draw calls

Review URL: https://codereview.appspot.com/6443068

git-svn-id: http://skia.googlecode.com/svn/trunk@4867 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/SkDrawCommand.h b/debugger/SkDrawCommand.h
index 45d9dd6..f09dae9 100644
--- a/debugger/SkDrawCommand.h
+++ b/debugger/SkDrawCommand.h
@@ -28,8 +28,13 @@
         return GetCommandString(fDrawType);
     }
 
-    bool getVisibility() const { return fVisible; }
-    void setVisibility(bool toggle) {fVisible = toggle; }
+    bool isVisible() const {
+        return fVisible;
+    }
+
+    void setVisible(bool toggle) {
+        fVisible = toggle;
+    }
 
     std::vector<std::string>* Info() {return &fInfo; };
     virtual void execute(SkCanvas* canvas)=0;