summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/browser_process_impl.h2
-rw-r--r--chrome/test/accessibility/constants.h6
2 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index 8e302c6..82f275f 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -177,7 +177,7 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe {
virtual bool IsUsingNewFrames() {
DCHECK(CalledOnValidThread());
if (!checked_for_new_frames_) {
- using_new_frames_ = !CommandLine().HasSwitch(L"use-old-frames");
+ using_new_frames_ = CommandLine().HasSwitch(L"magic_browzR");
checked_for_new_frames_ = true;
}
return using_new_frames_;
diff --git a/chrome/test/accessibility/constants.h b/chrome/test/accessibility/constants.h
index db0fb17..8cb9ea4 100644
--- a/chrome/test/accessibility/constants.h
+++ b/chrome/test/accessibility/constants.h
@@ -8,12 +8,6 @@
#include <windows.h>
#include <tchar.h>
-// Use the view indices for the new frames, rather than the old ones. With this
-// defined the accessibility ui tests will fail when the old frames are used.
-// TODO(beng): (1031854) remove when the old frames are completely removed from
-// the codebase.
-#define NEW_FRAMES
-
///////////////////////////////////////////////////////////////////
// Constant Definitations specific to Chrome Accessibility Tests.
///////////////////////////////////////////////////////////////////