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

Unified Diff: content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.h

Issue 1926973003: [mac] Remove dependencies from BrowserCompositorOverlayCandidateValidatorMac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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 | « no previous file | content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.h
diff --git a/content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.h b/content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.h
index 97bb8da4f3428eedce200b0e1204c4f079f1962e..3cb8c58b408d49f2119946bb9e55d18f6febdfee 100644
--- a/content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.h
+++ b/content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.h
@@ -16,7 +16,8 @@ namespace content {
class CONTENT_EXPORT BrowserCompositorOverlayCandidateValidatorMac
: public BrowserCompositorOverlayCandidateValidator {
public:
- BrowserCompositorOverlayCandidateValidatorMac();
+ explicit BrowserCompositorOverlayCandidateValidatorMac(
+ bool ca_layer_disabled);
~BrowserCompositorOverlayCandidateValidatorMac() override;
// cc::OverlayCandidateValidator implementation.
@@ -30,7 +31,7 @@ class CONTENT_EXPORT BrowserCompositorOverlayCandidateValidatorMac
private:
gfx::AcceleratedWidget widget_;
bool software_mirror_active_;
- bool ca_layers_disabled_;
+ const bool ca_layer_disabled_;
DISALLOW_COPY_AND_ASSIGN(BrowserCompositorOverlayCandidateValidatorMac);
};
« no previous file with comments | « no previous file | content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698