Second part of fix of issue http://code.google.com/p/chromium/issues/detail?id=3285. A NPObject can be called as a construct if it implements NPN_Construct, and NOT implements NPN_InvokeDefault. Otherwise, NPN_InvokeDefault is called even when the object is called as a constructor.
Second part of fix of issue http://code.google.com/p/chromium/issues/detail?id=3285.
A NPObject can be called as a construct if it implements NPN_Construct, and NOT implements
NPN_InvokeDefault. Otherwise, NPN_InvokeDefault is called even when the object is called
as a constructor.

Review URL: http://codereview.chromium.org/56167

git-svn-id: http://src.chromium.org/svn/trunk/src@15029 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 3fdb1e6f9a4255fea6ba41cae5ae2b7a537ccf15
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser