summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorqtc746@motorola.com <qtc746@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 07:47:03 +0000
committerqtc746@motorola.com <qtc746@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 07:47:03 +0000
commit28dfd2dda255816b33ba1ea4279f1b03cf3a721b (patch)
tree32e725ac918b267cc164837435a4e2bfb0b5561c /ppapi
parentdaeb56af44d8e62ea9b07acef9061f2dd1d5346f (diff)
downloadchromium_src-28dfd2dda255816b33ba1ea4279f1b03cf3a721b.zip
chromium_src-28dfd2dda255816b33ba1ea4279f1b03cf3a721b.tar.gz
chromium_src-28dfd2dda255816b33ba1ea4279f1b03cf3a721b.tar.bz2
Fix build error while building with 'make' (Complete build).
Contributed by qtc746@motorola.com BUG:None TEST:None Review URL: http://codereview.chromium.org/8216006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/examples/mouse_lock/mouse_lock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/examples/mouse_lock/mouse_lock.cc b/ppapi/examples/mouse_lock/mouse_lock.cc
index 734aec7..395cbf8 100644
--- a/ppapi/examples/mouse_lock/mouse_lock.cc
+++ b/ppapi/examples/mouse_lock/mouse_lock.cc
@@ -160,7 +160,7 @@ class MyInstance : public pp::Instance, public pp::MouseLock_Dev {
RIGHT = 1,
UP = 2,
DOWN = 3
- } direction;
+ } direction = LEFT;
bool draw_needle = GetDistance(mouse_movement_.x(), mouse_movement_.y(),
0, 0) > kCenteralSpotRadius;
if (draw_needle) {