Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/common.js

Issue 6273189772525568: Fixed regression: Clickhide functionality broken (Closed)
Patch Set: Created Nov. 19, 2013, 12:02 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/background.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common.js
===================================================================
--- a/chrome/common.js
+++ b/chrome/common.js
@@ -56,7 +56,7 @@
var MessageEventTarget = function()
{
- WrappedEventTarget.call(this, (chrome.runtime || {}).onMessage || chrome.extension.onRequest);
+ WrappedEventTarget.call(this, chrome.extension.onRequest);
};
MessageEventTarget.prototype = {
__proto__: WrappedEventTarget.prototype,
@@ -73,7 +73,7 @@
ext = {
backgroundPage: {
- sendMessage: (chrome.runtime || {}).sendMessage || chrome.extension.sendRequest,
+ sendMessage: chrome.extension.sendRequest,
getWindow: chrome.extension.getBackgroundPage
},
getURL: chrome.extension.getURL,
« no previous file with comments | « chrome/background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld