| Index: src/core/SkCanvas.cpp | 
| diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp | 
| index c062895bf0880a9ba3506b8540e3394579f2718c..bdbcd3be740fbd79fd7cdae4c4a954d63a88b31c 100644 | 
| --- a/src/core/SkCanvas.cpp | 
| +++ b/src/core/SkCanvas.cpp | 
| @@ -4,6 +4,7 @@ | 
| * Use of this source code is governed by a BSD-style license that can be | 
| * found in the LICENSE file. | 
| */ | 
| + | 
|  | 
| #include "SkCanvas.h" | 
| #include "SkBitmapDevice.h" | 
| @@ -1772,6 +1773,12 @@ | 
| } | 
| #endif | 
|  | 
| +#ifdef SK_SUPPORT_LEGACY_GETTOTALCLIP | 
| +const SkRegion& SkCanvas::getTotalClip() const { | 
| +    return fMCRec->fRasterClip->forceGetBW(); | 
| +} | 
| +#endif | 
| + | 
| const SkRegion& SkCanvas::internal_private_getTotalClip() const { | 
| return fMCRec->fRasterClip->forceGetBW(); | 
| } | 
|  |