Fix Clang style-plugin errors in memory_pressure component
commitea3ec1ea7c1ad2ac50f54f50a14b644904f7df02
authorHans Wennborg <hans@chromium.org>
Mon, 24 Aug 2015 17:59:38 +0000 (24 10:59 -0700)
committerHans Wennborg <hans@chromium.org>
Mon, 24 Aug 2015 18:00:46 +0000 (24 18:00 +0000)
tree4e161a79177986cace86f2b77fd8c2dd62841e90
parent1115626398d2b09a47be54f3302407df2b273bd0
Fix Clang style-plugin errors in memory_pressure component

From http://build.chromium.org/p/chromium.fyi/builders/CrWinClang/builds/2796/steps/compile/logs/stdio:

..\..\components/memory_pressure/filtered_memory_pressure_calculator.h(31,3) :
error: [chromium-style] Complex destructor has an inline body.
  ~FilteredMemoryPressureCalculator() {}
  ^
..\..\components/memory_pressure/filtered_memory_pressure_calculator.h(31,39) :
error: [chromium-style] Overriding method must be marked with 'override' or 'final'.
  ~FilteredMemoryPressureCalculator() {}
                                      ^
                                       override
..\..\components/memory_pressure/direct_memory_pressure_calculator.h(41,45) :
error: [chromium-style] Overriding method must be marked with 'override' or 'final'.
  virtual ~DirectMemoryPressureCalculator() {}
                                            ^
                                             override

BUG=82385, 520962
TBR=chrisha

Review URL: https://codereview.chromium.org/1314553003 .

Cr-Commit-Position: refs/heads/master@{#345121}
components/memory_pressure/direct_memory_pressure_calculator.h
components/memory_pressure/filtered_memory_pressure_calculator.cc
components/memory_pressure/filtered_memory_pressure_calculator.h