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

Unified Diff: ui/display/chromeos/test/test_display_snapshot.h

Issue 853073002: Update {virtual,override,final} to follow C++11 style in ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: ui/display/chromeos/test/test_display_snapshot.h
diff --git a/ui/display/chromeos/test/test_display_snapshot.h b/ui/display/chromeos/test/test_display_snapshot.h
index 5691c897cc357e77c7eef3660549940a855b1565..b5b5cacd4f337e923784f515449362a0595fe689 100644
--- a/ui/display/chromeos/test/test_display_snapshot.h
+++ b/ui/display/chromeos/test/test_display_snapshot.h
@@ -21,7 +21,7 @@ class DISPLAY_EXPORT TestDisplaySnapshot : public DisplaySnapshot {
const std::vector<const DisplayMode*>& modes,
const DisplayMode* current_mode,
const DisplayMode* native_mode);
- virtual ~TestDisplaySnapshot();
+ ~TestDisplaySnapshot() override;
void set_type(DisplayConnectionType type) { type_ = type; }
void set_modes(const std::vector<const DisplayMode*>& modes) {
@@ -35,7 +35,7 @@ class DISPLAY_EXPORT TestDisplaySnapshot : public DisplaySnapshot {
void set_display_id(int64_t id) { display_id_ = id; }
// DisplaySnapshot overrides:
- virtual std::string ToString() const override;
+ std::string ToString() const override;
private:
DISALLOW_COPY_AND_ASSIGN(TestDisplaySnapshot);

Powered by Google App Engine
This is Rietveld 408576698