Chromium Code Reviews| Index: ash/host/transformer_helper.cc |
| diff --git a/ash/host/transformer_helper.cc b/ash/host/transformer_helper.cc |
| index 8075fc394e5505ff98c514308b49452db77dcaf3..435b74e750d6e3825e675e1093bd6b6c447bb4a6 100644 |
| --- a/ash/host/transformer_helper.cc |
| +++ b/ash/host/transformer_helper.cc |
| @@ -58,11 +58,17 @@ class SimpleRootWindowTransformer : public RootWindowTransformer { |
| TransformerHelper::TransformerHelper(AshWindowTreeHost* ash_host) |
| : ash_host_(ash_host) { |
| - SetTransform(gfx::Transform()); |
| +#if defined(OS_WIN) |
| + Init(); |
|
oshima
2015/05/01 20:58:16
here
Jun Mukai
2015/05/01 22:06:07
I'm not sure what's this is for.
_ozone, _x11, and
oshima
2015/05/01 22:44:57
As I mentioned, I'm still investigating but window
|
| +#endif |
| } |
| TransformerHelper::~TransformerHelper() {} |
| +void TransformerHelper::Init() { |
| + SetTransform(gfx::Transform()); |
| +} |
| + |
| gfx::Insets TransformerHelper::GetHostInsets() const { |
| return transformer_->GetHostInsets(); |
| } |