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

Unified Diff: gm/lighting.cpp

Issue 1245883003: Move LightingShader to effects (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 5 years, 5 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 | gm/lightingshader.cpp » ('j') | include/effects/SkLightingShader.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/lighting.cpp
diff --git a/gm/lighting.cpp b/gm/lighting.cpp
index 345e11e5a9a066b8ae57e17a52453c655d2c584c..4fbb806729c2652f050ff914b9fe40ec96185367 100644
--- a/gm/lighting.cpp
+++ b/gm/lighting.cpp
@@ -170,7 +170,6 @@ private:
//////////////////////////////////////////////////////////////////////////////
-static GM* MyFactory(void*) { return new ImageLightingGM; }
-static GMRegistry reg(MyFactory);
+DEF_GM( return SkNEW(ImageLightingGM); )
}
« no previous file with comments | « no previous file | gm/lightingshader.cpp » ('j') | include/effects/SkLightingShader.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698