Index: samplecode/OverView.cpp |
diff --git a/samplecode/OverView.cpp b/samplecode/OverView.cpp |
index 3b7183e85aaea1753b551bc857b04903e5aa5aeb..f601afe95b417d5e04eb1d07df58a157792cb7c2 100644 |
--- a/samplecode/OverView.cpp |
+++ b/samplecode/OverView.cpp |
@@ -12,15 +12,11 @@ |
#include "SkCanvas.h" |
#include "SkView.h" |
-namespace { |
- |
const int N = 8; |
tfarina
2013/09/10 18:14:07
AFAIK, const has internal linkage in C++.
|
const SkScalar kWidth = SkIntToScalar(640); |
const SkScalar kHeight = SkIntToScalar(480); |
const char gIsOverview[] = "is-overview"; |
tfarina
2013/09/10 00:10:18
$ nm out/Debug/obj/samplecode/SampleApp.OverView.o
bsalomon
2013/09/11 20:15:27
Is that gIsOverview is treated as a ptr to a const
tfarina
2013/09/11 21:15:21
no.
according to cdecl and the right-to-left synt
|
-} // namespace |
- |
class OverView : public SkView { |
public: |
OverView(int count, const SkViewFactory* factories[]); |