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

Unified Diff: pdf/paint_aggregator.cc

Issue 2270463003: Turn on enforce-in-pdf Clang plugin flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win clang Created 4 years, 4 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 | « pdf/paint_aggregator.h ('k') | pdf/paint_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/paint_aggregator.cc
diff --git a/pdf/paint_aggregator.cc b/pdf/paint_aggregator.cc
index 50d77fe47d3569f71762cb2597c685d630ff9bcc..ba444cfdf995ea85c4d69648f936fb7c3ca807af 100644
--- a/pdf/paint_aggregator.cc
+++ b/pdf/paint_aggregator.cc
@@ -34,11 +34,11 @@ bool IsNegative(int32_t num) {
// therefore be treated as an invalidation.
// ----------------------------------------------------------------------------
-PaintAggregator::PaintUpdate::PaintUpdate() {
-}
+PaintAggregator::PaintUpdate::PaintUpdate() = default;
-PaintAggregator::PaintUpdate::~PaintUpdate() {
-}
+PaintAggregator::PaintUpdate::PaintUpdate(const PaintUpdate& that) = default;
+
+PaintAggregator::PaintUpdate::~PaintUpdate() = default;
PaintAggregator::InternalPaintUpdate::InternalPaintUpdate() :
synthesized_scroll_damage_rect_(false) {
« no previous file with comments | « pdf/paint_aggregator.h ('k') | pdf/paint_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698