| Index: content/browser/gpu/gpu_data_manager_impl.h
|
| diff --git a/content/browser/gpu/gpu_data_manager_impl.h b/content/browser/gpu/gpu_data_manager_impl.h
|
| index 118fcb0f84e0c8a116d3be2f8227d65f94cfb424..d66380d938522f6e938bf79624f5e1e54874eb33 100644
|
| --- a/content/browser/gpu/gpu_data_manager_impl.h
|
| +++ b/content/browser/gpu/gpu_data_manager_impl.h
|
| @@ -50,6 +50,8 @@ class CONTENT_EXPORT GpuDataManagerImpl
|
| virtual void AddObserver(content::GpuDataManagerObserver* observer) OVERRIDE;
|
| virtual void RemoveObserver(
|
| content::GpuDataManagerObserver* observer) OVERRIDE;
|
| + virtual void SetWindowCount(uint32 count) OVERRIDE;
|
| + virtual uint32 GetWindowCount() const OVERRIDE;
|
|
|
| // This collects preliminary GPU info, load GpuBlacklist, and compute the
|
| // preliminary blacklisted features; it should only be called at browser
|
| @@ -155,6 +157,9 @@ class CONTENT_EXPORT GpuDataManagerImpl
|
| // they cause random failures.
|
| bool update_histograms_;
|
|
|
| + // Number of currently open windows, to be used in gpu memory allocation.
|
| + int window_count_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl);
|
| };
|
|
|
|
|