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

Unified Diff: samplecode/OverView.cpp

Issue 23498028: Removes uses of unnamed namespace from samplecode. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: add static Created 7 years, 3 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 | samplecode/SampleChart.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/OverView.cpp
diff --git a/samplecode/OverView.cpp b/samplecode/OverView.cpp
index 3b7183e85aaea1753b551bc857b04903e5aa5aeb..fec7fb39fbad0db5513133e04dcf17ec47160f53 100644
--- a/samplecode/OverView.cpp
+++ b/samplecode/OverView.cpp
@@ -12,14 +12,10 @@
#include "SkCanvas.h"
#include "SkView.h"
-namespace {
-
-const int N = 8;
-const SkScalar kWidth = SkIntToScalar(640);
-const SkScalar kHeight = SkIntToScalar(480);
-const char gIsOverview[] = "is-overview";
-
-} // namespace
+static const int N = 8;
+static const SkScalar kWidth = SkIntToScalar(640);
+static const SkScalar kHeight = SkIntToScalar(480);
+static const char gIsOverview[] = "is-overview";
class OverView : public SkView {
public:
« no previous file with comments | « no previous file | samplecode/SampleChart.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698