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

Unified Diff: ui/base/gestures/velocity_calculator.h

Issue 11878022: ui: Convert scoped_arrays to the new scoped_ptr style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « ui/base/dragdrop/gtk_dnd_util_unittest.cc ('k') | ui/base/win/ime_input.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gestures/velocity_calculator.h
diff --git a/ui/base/gestures/velocity_calculator.h b/ui/base/gestures/velocity_calculator.h
index a6d7919a2ed3ceff27ee2fdf8ebb04471b18f569..2adfaf060ea425e7d1d63b9c12d0dbd654fba8c6 100644
--- a/ui/base/gestures/velocity_calculator.h
+++ b/ui/base/gestures/velocity_calculator.h
@@ -32,7 +32,7 @@ class UI_EXPORT VelocityCalculator {
void UpdateVelocity();
- typedef scoped_array<Point> HistoryBuffer;
+ typedef scoped_ptr<Point[]> HistoryBuffer;
HistoryBuffer buffer_;
// index_ points directly after the last point added.
« no previous file with comments | « ui/base/dragdrop/gtk_dnd_util_unittest.cc ('k') | ui/base/win/ime_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698