Chromium Code Reviews| Index: chrome/browser/views/info_bubble.cc |
| =================================================================== |
| --- chrome/browser/views/info_bubble.cc (revision 42236) |
| +++ chrome/browser/views/info_bubble.cc (working copy) |
| @@ -264,7 +264,7 @@ |
| // Calculate and set the bounds for all windows and views. |
| gfx::Rect window_bounds; |
| - bool prefer_arrow_on_right = |
| + bool prefer_arrow_on_right = delegate && |
| (contents->UILayoutIsRightToLeft() == delegate->PreferOriginSideAnchor()); |
| #if defined(OS_WIN) |