Index: experimental/SkiaExamples/SkExample.cpp |
diff --git a/experimental/SkiaExamples/SkExample.cpp b/experimental/SkiaExamples/SkExample.cpp |
index d4adaf49249d28daf7db0c526f59218cbd4f9128..91f70f3e5b6112a8a09c7eafa0264597fff1f17f 100644 |
--- a/experimental/SkiaExamples/SkExample.cpp |
+++ b/experimental/SkiaExamples/SkExample.cpp |
@@ -39,7 +39,7 @@ void application_term() { |
SkExampleWindow::SkExampleWindow(void* hwnd) |
: INHERITED(hwnd) { |
fRegistry = SkExample::Registry::Head(); |
- fCurrExample = fRegistry->factory()(this); |
+ fCurrExample = fRegistry->data()(this); |
if (FLAGS_match.count()) { |
// Start with the a matching sample if possible. |
@@ -166,7 +166,7 @@ bool SkExampleWindow::findNextMatch() { |
if (NULL == fRegistry) { // Reached the end of the registered samples. GOTO head. |
fRegistry = SkExample::Registry::Head(); |
} |
- SkExample* next = fRegistry->factory()(this); |
+ SkExample* next = fRegistry->data()(this); |
if (!SkCommandLineFlags::ShouldSkip(FLAGS_match, next->getName().c_str())) { |
fCurrExample = next; |
found = true; |