Index: chrome/test/functional/plugins.py |
diff --git a/chrome/test/functional/plugins.py b/chrome/test/functional/plugins.py |
index 6bc4ee3d50cf68f13ff8c0c0a39d29752f1dc23d..85ba29c8c197b34d0286b834bfe17412dbb9a6df 100755 |
--- a/chrome/test/functional/plugins.py |
+++ b/chrome/test/functional/plugins.py |
@@ -173,8 +173,8 @@ class PluginsTest(pyauto.PyUITest): |
"""Verify that all the plugins can be blocked. |
Verifying by checking that flash plugin was blocked. |
""" |
- flash_url = self.GetFileURLForPath(os.path.join( |
- self.DataDir(), 'plugin', 'flash-clicktoplay.html')) |
+ flash_url = self.GetFileURLForContentDataPath( |
+ 'plugin', 'flash-clicktoplay.html') |
self.NavigateToURL(flash_url) |
flash_pid = self._GetPluginPID('Shockwave Flash') |
self.assertTrue(flash_pid, msg='No plugin process for Shockwave Flash') |