Fix build warning: 'this' pointer cannot be null in well-defined C++ code; comparison...
authordongseong.hwang <dongseong.hwang@intel.com>
Thu, 30 Apr 2015 14:47:05 +0000 (07:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Apr 2015 14:47:05 +0000 (07:47 -0700)
Review URL: https://codereview.chromium.org/1109933003

src/core/SkPath.cpp

index 812b49bf3b7bb146d0f7eb884952b41661118212..54e14522cffccd37b4bb4da9a40b6ee449a06655 100644 (file)
@@ -1996,7 +1996,6 @@ void SkPath::dumpHex() const {
 
 #ifdef SK_DEBUG
 void SkPath::validate() const {
-    SkASSERT(this != NULL);
     SkASSERT((fFillType & ~3) == 0);
 
 #ifdef SK_DEBUG_PATH