| Index: chrome/browser/ui/views/frame/browser_frame_aura.cc
 | 
| diff --git a/chrome/browser/ui/views/frame/browser_frame_aura.cc b/chrome/browser/ui/views/frame/browser_frame_aura.cc
 | 
| index 138c9291926d121c394666bdd4f3ddfd7fb7e0a8..82628c0df052c8e96f7b5395e3789aeb8200604b 100644
 | 
| --- a/chrome/browser/ui/views/frame/browser_frame_aura.cc
 | 
| +++ b/chrome/browser/ui/views/frame/browser_frame_aura.cc
 | 
| @@ -229,6 +229,11 @@ class BrowserFrameAura::WindowPropertyWatcher : public aura::WindowObserver {
 | 
|      if (key != aura::client::kShowStateKey)
 | 
|        return;
 | 
|  
 | 
| +    // Allow the frame to be replaced when maximizing an app.
 | 
| +    if (browser_frame_->non_client_view() &&
 | 
| +        browser_frame_aura_->browser_view()->browser()->is_app())
 | 
| +      browser_frame_->non_client_view()->UpdateFrame();
 | 
| +
 | 
|      // When migrating from regular ChromeOS to Aura, windows can have saved
 | 
|      // restore bounds that are exactly equal to the maximized bounds.  Thus when
 | 
|      // you hit maximize, there is no resize and the layout doesn't get
 | 
| 
 |