summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/graphics/paint/display_item_cache_skipper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/graphics/paint/display_item_cache_skipper.h')
-rw-r--r--chromium/third_party/blink/renderer/platform/graphics/paint/display_item_cache_skipper.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/platform/graphics/paint/display_item_cache_skipper.h b/chromium/third_party/blink/renderer/platform/graphics/paint/display_item_cache_skipper.h
index d702c6c758f..ef2660e5310 100644
--- a/chromium/third_party/blink/renderer/platform/graphics/paint/display_item_cache_skipper.h
+++ b/chromium/third_party/blink/renderer/platform/graphics/paint/display_item_cache_skipper.h
@@ -5,7 +5,6 @@
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_DISPLAY_ITEM_CACHE_SKIPPER_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_DISPLAY_ITEM_CACHE_SKIPPER_H_
-#include "base/macros.h"
#include "third_party/blink/renderer/platform/graphics/graphics_context.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_controller.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
@@ -20,14 +19,14 @@ class DisplayItemCacheSkipper final {
: context_(context) {
context.GetPaintController().BeginSkippingCache();
}
+ DisplayItemCacheSkipper(const DisplayItemCacheSkipper&) = delete;
+ DisplayItemCacheSkipper& operator=(const DisplayItemCacheSkipper&) = delete;
~DisplayItemCacheSkipper() {
context_.GetPaintController().EndSkippingCache();
}
private:
GraphicsContext& context_;
-
- DISALLOW_COPY_AND_ASSIGN(DisplayItemCacheSkipper);
};
} // namespace blink