| Index: chrome/browser/ui/gtk/unity_service.cc
|
| diff --git a/chrome/browser/ui/gtk/unity_service.cc b/chrome/browser/ui/gtk/unity_service.cc
|
| index dc7f05ddfbddf758a388ab8eae2366daba7faf8b..7adc936e3f02d30e56084cc7ff87eb46c771a426 100644
|
| --- a/chrome/browser/ui/gtk/unity_service.cc
|
| +++ b/chrome/browser/ui/gtk/unity_service.cc
|
| @@ -53,8 +53,12 @@ void EnsureMethodsLoaded() {
|
| return;
|
| attempted_load = true;
|
|
|
| + // TODO(erg): When unity stabilizes its interface, switch all this to looking
|
| + // up just ".so" instead of specific versions.
|
| void* unity_lib = dlopen("libunity.so.4", RTLD_LAZY);
|
| if (!unity_lib)
|
| + unity_lib = dlopen("libunity.so.6", RTLD_LAZY);
|
| + if (!unity_lib)
|
| return;
|
|
|
| unity_inspector_get_default_func inspector_get_default =
|
|
|