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

Unified Diff: ui/events/test/events_test_utils_x11.h

Issue 135393011: Revert of x11/test: Use a custom-deleter for the stored XEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | ui/events/test/events_test_utils_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/test/events_test_utils_x11.h
diff --git a/ui/events/test/events_test_utils_x11.h b/ui/events/test/events_test_utils_x11.h
index 737cf886ac829ba908dff2b66e16d80b03d000c7..0be6fddcf766232d682dc9b5a9f5b82285902474 100644
--- a/ui/events/test/events_test_utils_x11.h
+++ b/ui/events/test/events_test_utils_x11.h
@@ -22,10 +22,6 @@
DeviceDataManager::DataType data_type;
double value;
-};
-
-struct XEventDeleter {
- void operator()(XEvent* event);
};
class ScopedXI2Event {
@@ -77,7 +73,7 @@
void SetUpValuators(const std::vector<Valuator>& valuators);
- scoped_ptr<XEvent, XEventDeleter> event_;
+ scoped_ptr<XEvent> event_;
DISALLOW_COPY_AND_ASSIGN(ScopedXI2Event);
};
« no previous file with comments | « no previous file | ui/events/test/events_test_utils_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698