MSPs voted by 63 to 55 to pass the Sewel motion - a convention between Westminster and Holyrood by which the Scottish Parliament formally consents to MPs legislating on devolved issues and powers.
The SNP’s chief whip Bruce Crawford branded the Scottish Liberal Democrats "hypocrites" for backing the Sewel motion while their party colleagues at Westminster had opposed the bill.
But the Lib Dem’s deputy finance minister, Tavish Scott, insisted that gambling policy was largely reserved to Westminster and that the motion had to be passed to allow powers over licensing conditions for all premises to be devolved to Scotland.
The bill could see one of eight proposed "super-casinos" located in Scotland.
Critics fear that this would lead to greater problem gambling, particularly among the poorest groups.