Chromium Code Reviews| Index: webkit/support/platform_support_mac.mm |
| =================================================================== |
| --- webkit/support/platform_support_mac.mm (revision 97855) |
| +++ webkit/support/platform_support_mac.mm (working copy) |
| @@ -211,7 +211,8 @@ |
| } |
| } |
| base::StringPiece res; |
| - g_resource_data_pack->GetStringPiece(resource_id, &res); |
| + if (g_resource_data_pack) |
| + g_resource_data_pack->GetStringPiece(resource_id, &res); |
| return res; |
| } |