summaryrefslogtreecommitdiffstats
path: root/ppapi/examples/mouse_lock/mouse_lock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/examples/mouse_lock/mouse_lock.cc')
-rw-r--r--ppapi/examples/mouse_lock/mouse_lock.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ppapi/examples/mouse_lock/mouse_lock.cc b/ppapi/examples/mouse_lock/mouse_lock.cc
index 6a934ba..f6bfbb6 100644
--- a/ppapi/examples/mouse_lock/mouse_lock.cc
+++ b/ppapi/examples/mouse_lock/mouse_lock.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -75,8 +75,9 @@ class MyInstance : public pp::Instance, public pp::MouseLock {
LockMouse(callback_factory_.NewRequiredCallback(
&MyInstance::DidLockMouse));
}
+ return true;
}
- return true;
+ return false;
}
default:
return false;