Index: components/exo/surface.cc |
diff --git a/components/exo/surface.cc b/components/exo/surface.cc |
index b6edb5b7558d02bda6e326477945e107ffb6843d..90b44bdef684551d3f76eaa2f4722e7fcf74c5a9 100644 |
--- a/components/exo/surface.cc |
+++ b/components/exo/surface.cc |
@@ -182,12 +182,15 @@ class CustomWindowTargeter : public aura::WindowTargeter { |
} // namespace |
+// static |
+const char Surface::kSurfaceWindowName[] = "ExoSurface"; |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// Surface, public: |
Surface::Surface() : window_(new aura::Window(new CustomWindowDelegate(this))) { |
window_->SetType(aura::client::WINDOW_TYPE_CONTROL); |
- window_->SetName("ExoSurface"); |
+ window_->SetName(kSurfaceWindowName); |
window_->SetProperty(kSurfaceKey, this); |
window_->Init(ui::LAYER_SOLID_COLOR); |
window_->SetEventTargeter(base::WrapUnique(new CustomWindowTargeter)); |