Code: void AutofillDialogViews::SectionContainer::SetActive(bool active) {
  bool is_active = active && proxy_button_->visible();
   if (is_active == !!background())
     return;
 
  set_background(is_active ?
      views::Background::CreateSolidBackground(kShadingColor) :
      NULL);
   SchedulePaint();
 }

Vulnerability Type: 
CWE ID: CWE-20
Summary: The FrameLoader::notifyIfInitialDocumentAccessed function in core/loader/FrameLoader.cpp in Blink, as used in Google Chrome before 31.0.1650.63, makes an incorrect check for an empty document during presentation of a modal dialog, which allows remote attackers to spoof the address bar via vectors involving the document.write method.
Commit Message: Clear out some minor TODOs.

BUG=none

Review URL: https://codereview.chromium.org/1047063002

Cr-Commit-Position: refs/heads/master@{#322959}