Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/gpu/GrClip.h

Issue 947933004: move static init to cpp file to fix linux builder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/GrClip.cpp » ('j') | src/gpu/GrClip.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrClip.h
diff --git a/include/gpu/GrClip.h b/include/gpu/GrClip.h
index f07a9749ca7aa22f822a2ec83520b0a0dc5c2049..8c8b9b358f84a41433aa1a7d717cba28b76bfa0b 100644
--- a/include/gpu/GrClip.h
+++ b/include/gpu/GrClip.h
@@ -147,10 +147,7 @@ public:
SkIRect* devResult,
bool* isIntersectionOfRects = NULL) const;
- static const GrClip& WideOpen() {
- static GrClip clip;
- return clip;
- }
+ static const GrClip& WideOpen();
enum ClipType {
kClipStack_ClipType,
« no previous file with comments | « no previous file | src/gpu/GrClip.cpp » ('j') | src/gpu/GrClip.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698